Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4379

LocalizedTestUtil by ClassLoader

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.16.3
    • Fix Version/s: 2.3.20
    • Component/s: None
    • Environment:

      JBoss AS 7.x and JBoss EAP 6.x, JVM 1.7

      Description

      This improvement enables struts to be used as JBoss AS 7/WildFly 8/JBoss EAP 6 module.

      Issue:
      having two or more applications using the same "struts-module" (meant as JBoss AS 7 module),
      each application with its own resource bundle, the first one which initialized the LocalizedTextUtil "wins" over the second and next application's resource bundles. Furthermore, to avoid overwriting bundles, now each bundle is indexed into the bundlesMap by its key (resourceBundleName) and prefixed by ClassLoader hash code.

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              foogaro Luigi Fugaro
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: