Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-2623 New Jahia Include Tag
  3. JAHIA-4471

Check if the resource bundle inheritance works correctly in case a template set does not use its own bundle

Details

    • Sub-task
    • Resolution: Done
    • Major
    • xCM 6.0
    • xCM 6.0
    • None

    Description

      If the template set does not use its on resource bundle, the getResourceBundle() is returning null right now and the handling can be wrong (NPE ?).
      Check following use cases:

      1) A template set has no parent template sets and does not provide any resource bundles.
      In this case the jahiatemplates/common.properties should be the fallback bundle

      2) A template set extends another template set and does not provide any resource bundles.
      Resource bundle of the parent template set should be used as a fallback

      TestRail: Results

        Attachments

          Activity

            [JAHIA-4471] Check if the resource bundle inheritance works correctly in case a template set does not use its own bundle

            Tested on the Jahia 6.0 trunk build 26205.
            No issue for both aforementioned use cases.

            shyrkov Sergiy Shyrkov (Inactive) added a comment - Tested on the Jahia 6.0 trunk build 26205. No issue for both aforementioned use cases.

            People

              shyrkov Sergiy Shyrkov (Inactive)
              shyrkov Sergiy Shyrkov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases

                    Packages

                      Version Package
                      xCM 6.0