Details
-
Bug
-
Resolution: Fixed
-
Medium
-
1.3.2
-
Severity 3 - Minor
-
Description
Copying the cached calendars in the cache in Confluence clustered results in:
java.lang.IllegalArgumentException: Illegal property [PRODID] at net.fortuna.ical4j.model.PropertyFactoryImpl.createProperty(PropertyFactoryImpl.java:1060) at net.fortuna.ical4j.model.Property.copy(Property.java:524) at net.fortuna.ical4j.model.PropertyList.<init>(PropertyList.java:76) at net.fortuna.ical4j.model.Calendar.<init>(Calendar.java:179) at com.atlassian.confluence.extra.calendar3.calendarstore.CalendarDataStoreCachingDecorator.copyCalendar(CalendarDataStoreCachingDecorator.java:249) at com.atlassian.confluence.extra.calendar3.calendarstore.CalendarDataStoreCachingDecorator.getSubCalendarContent(CalendarDataStoreCachingDecorator.java:225)
This is because the registered property/parameter factories deep inside ical4j were gone after the deserialization, and because of how java.io.Serializable was implemented, the factories weren't reregistered.
Attachments
Issue Links
- relates to
-
CONFSERVER-50745 Cluster compatibility - certain ical4j classes need to be patched
- Closed