|
| Summary: |
Improve event Keep color and custom properties population when populating calendar events |
| Description: |
Currently, the When a [ _EventProcessor_ _CalendarEvent_ |https://github.com/xwiki-contrib/macro-fullcalendar/blob/master/macro-fullcalendar-api/src/main/java/org/xwiki/fullcalendar/ internal model / util/EventProcessor CalendarEvent .java] class ignores color and custom properties when populating a object is created, the [ _CalendarEvent_ _EventProcessor_ |https://github.com/xwiki-contrib/macro-fullcalendar/blob/master/macro-fullcalendar-api/src/main/java/org/xwiki/fullcalendar/ model internal / CalendarEvent util/EventProcessor .java] object, even though those fields exist in currently drops the CalendarEvent object event's color and custom metadata . Because these fields are ignored during mapping, we lose access to custom event properties and color coding.
We should update the [_addBasicEventProperties_|https://github.com/xwiki-contrib/macro-fullcalendar/blob/master/macro-fullcalendar-api/src/main/java/org/xwiki/fullcalendar/internal/util/EventProcessor.java#L93] function to include these missing map the color and customProperties fields , ensuring this data is preserved . |
|