There are 2 updates.
 
 
FullCalendar Macro / cid:jira-generated-image-avatar-d7bca452-161e-41d7-8501-51764c937d61 FULLCAL-94 In Progress

Keep color and custom properties when populating calendar events

 
View issue   ยท   Add comment
 

2 updates

 
cid:jira-generated-image-avatar-7404d382-90ef-43b5-a9db-2135b0b05302 Changes by Sorin Chiuchiu on 10/Sep/26 11:32
 
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 .