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

Resources with same path in different plugins override one another

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

      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

            [CONFSERVER-9580] Resources with same path in different plugins override one another

            Sen Geronimo made changes -
            Workflow Original: JAC Suggestion Workflow 4 [ 3563364 ] New: JAC Suggestion Workflow 3 [ 4331113 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow 2 [ 3168527 ] New: JAC Suggestion Workflow 4 [ 3563364 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3029995 ] New: JAC Suggestion Workflow 2 [ 3168527 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2535416 ] New: JAC Suggestion Workflow [ 3029995 ]
            Rachel Lin (Inactive) made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 2298081 ] New: Confluence Workflow - Public Facing v4 [ 2535416 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 - TEMP [ 2193951 ] New: Confluence Workflow - Public Facing v3 [ 2298081 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 1924057 ] New: Confluence Workflow - Public Facing v3 - TEMP [ 2193951 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v2 [ 1754929 ] New: Confluence Workflow - Public Facing v3 [ 1924057 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Suggestion WF (TEMP) [ 1682319 ] New: Confluence Workflow - Public Facing v2 [ 1754929 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing [ 1361112 ] New: CONF Suggestion WF (TEMP) [ 1682319 ]

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

                Created:
                Updated:
                Resolved: