Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-9580

Resources with same path in different plugins override one another

    XMLWordPrintable

Details

    • 4
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      If the location of i18n properties in plugins are the same, one file will be loaded and the other will not. For example:

      • plugin 1 contains /i18n.properties
      • plugin 2 contains /i18n.properties

      Only one file will be loaded, and which one depends on the order of plugin loading in Confluence (which is not defined).

      Until this issue is fixed, be sure to put your plugin resources in a namespaced directory structure. That is,

      • /i18n.properties is a bad location
      • /com/example/confluence/myplugin/i18n.properties is a good location.

      The attached two plugins demonstrate this problem.

      Attachments

        1. bulk-actions.tar.gz
          144 kB
        2. bulkactions-1.0-SNAPSHOT.jar
          76 kB
        3. C++AmpSamplesVS12.sln
          11 kB
        4. multi-space-import-export.tar.gz
          305 kB
        5. multispaceimportexport-1.0-SNAPSHOT.jar
          80 kB

        Activity

          People

            ckiehl Chris Kiehl
            6e54f9dce0da Gary Weaver
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: