Resources with same path in different plugins override one another

XMLWordPrintable

    • 4

      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.

        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

            Assignee:
            Chris Kiehl
            Reporter:
            Gary Weaver
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: