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

The entry type of a page in an extension is not honored upon install with EM if the extension depends on another extension which specifies a different entry type for the same page

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      This bug concerns the configuration of xar extension pages in the pom of an extension, as described here https://dev.xwiki.org/xwiki/bin/view/Community/XARPlugin#HDocumentstypes (see https://extensions.xwiki.org/xwiki/bin/view/Extension/Extension%20Module/Extensions/XAR/#HStandardtypes for existing types).

      How to reproduce:

      • create an extension that depends on the standard flavor
      • add a Main.WebHome page and/or XWiki.XWikiPreferences page to this extension
      • configure different entry types for these pages than the default ones, for example:
                    <entry>
                      <document>Main.WebHome</document>
                      <type>customizable</type>
                    </entry>
                    <entry>
                      <document>XWiki.XWikiPreferences</document>
                      <type>default</type>
                    </entry>
        
      • install this custom extension, even after having already installed the standard flavor

      Expected behaviour:

      • upon install with extension manager, the entry types from the pom are respected: Main.WebHome behaves as customizable, XWikiPreferences behaves as default.

      Actual behaviour:

      • upon install with extension manager, the entry types from the pom are not respected: Main.WebHome behaves as demo, XWikiPreferences behaves as configuration.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: