-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: explorer-20.2.0
-
Component/s: Explorer
-
Epic Link:
-
Team:AT
-
Sprint:nxAT 11.x.28
-
Story Points:1
To avoid compat issues with platform changes regarding Seralizable field ComponentEvent#data, change its type from Serializable to Object (see https://github.com/nuxeo/nuxeo/pull/4423/ relative to cleanup done with NXP-29801).
For history, stack trace when using a released Explorer version referencing Serializable data (without revert with above PR):
java.lang.NoSuchFieldError: data at org.nuxeo.apidoc.snapshot.SnapshotListener.handleEvent(SnapshotListener.java:100) ~[nuxeo-apidoc-core-20.1.0.jar:?] at org.nuxeo.runtime.model.impl.ComponentManagerImpl.sendEvent(ComponentManagerImpl.java:408) ~[nuxeo-runtime-11.4.12.jar:?] at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.activate(RegistrationInfoImpl.java:498) ~[nuxeo-runtime-11.4.12.jar:?] at org.nuxeo.runtime.model.impl.ComponentManagerImpl.activateComponent(ComponentManagerImpl.java:579) ~[nuxeo-runtime-11.4.12.jar:?] at org.nuxeo.runtime.model.impl.ComponentManagerImpl.activateComponents(ComponentManagerImpl.java:544) ~[nuxeo-runtime-11.4.12.jar:?] at org.nuxeo.runtime.model.impl.ComponentManagerImpl.start(ComponentManagerImpl.java:828) ~[nuxeo-runtime-11.4.12.jar:?]
--> compat issue introduced with https://github.com/nuxeo/nuxeo/commit/55c22582c4f88309ddc34ce304722c3c22265c21#diff-e8aa14ccd56f64cc8f7a303efa9d55698e682b870f139d0d5d57a9f6c3496504R121