Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
7.4
-
None
-
Unknown
-
Description
This is what you can try to reproduce.
Use the packager plugin to build a XWiki from XE 7.4 that contains xff-filter-stream-0.4.0. You'll end-up with a xwiki-platform-rest-model-7.1.1 (because it's a dependency of xff-filter-stream). XE should already have xwiki-platform-rest-model-7.4 but the packager seems to ignore that.
In this particular example, xwiki-platform-rest-model has been modified between 7.1.1 and 7.4 (the property hidden has been added to the model of a Page). Therefore, REST services will produce an error trying to use the method setHidden() (7.4 code is calling the org.xwiki.rest.model.jaxb.Page.setHidden() method but the version 7.1.1 of org.xwiki.rest.model.jaxb.Page don't have it).