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

ClasspathResourceOrigin should warn users about duplicate resources


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

      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.

        Acceptance criteria

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