Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6376

ClasspathResourceOrigin should warn users about duplicate resources

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 5.4.2
    • resource-loader
    • None

    Description

      In info.magnolia.i18nsystem.DefaultMessageBundlesLoader we used to warn users about duplicate resource files (this could happen e.g when using a development environment with duplicate jars of different versions, but could also simply happen when files have such a common name that they occur in multiple jars. Of course, this should happen after some filtering (no need to warn about duplicate META-INF/MANIFEST.MF files)

      It's currently not trivial to do within ClasspathResourceOrigin, since the Reflections library we use returns a Set<String> of resource paths.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                gjoseph Magnolia International
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoD