Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6262

CategoryContentWrapper ignores session locale

    Details

      Description

      CategoryContentWorker returns first CategoryContent found for a Category, ignoring locale.
      The consequence is invalid localization of categories.

      Steps to reproduce:

      • delete product category name and/or product category description
      • in content tab, create category name and/or description content, for at least two locales
      • try changing session locale in catalog or ecommerce, watch category tree and other components displaying category name(s)

        Issue Links

          Activity

          Hide
          jalmasi Josip Almasi added a comment -

          CategoryContentWorker now iterates thru content available for a category, and renders content found for session locale.
          Falls back to configured locale if no content is found.

          Show
          jalmasi Josip Almasi added a comment - CategoryContentWorker now iterates thru content available for a category, and renders content found for session locale. Falls back to configured locale if no content is found.
          Hide
          deepak.dixit Deepak Dixit added a comment -

          Thanks Josip Almasi,
          Your patch has been committed at
          Trunk at r#1679720
          14.12 at #1679721
          13.07 at r#1679724

          Show
          deepak.dixit Deepak Dixit added a comment - Thanks Josip Almasi, Your patch has been committed at Trunk at r#1679720 14.12 at #1679721 13.07 at r#1679724

            People

            • Assignee:
              deepak.dixit Deepak Dixit
              Reporter:
              jalmasi Josip Almasi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development