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
          Gary Weaver
        2. bulkactions-1.0-SNAPSHOT.jar
          76 kB
          Gary Weaver
        3. C++AmpSamplesVS12.sln
          11 kB
          Oleksii Kiiashko
        4. multi-space-import-export.tar.gz
          305 kB
          Gary Weaver
        5. multispaceimportexport-1.0-SNAPSHOT.jar
          80 kB
          Gary Weaver

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

              Created:
              Updated:
              Resolved: