Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12963

Packager plugin select the wrong version when mandatory dependency version conflict with project dependency version

    XMLWordPrintable

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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            jsimard Jean SIMARD
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: