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

Improvements for ContentWorker methods and view-entities

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • Upcoming Branch
    • Upcoming Branch
    • content
    • None

    Description

      Adds additional methods to ContentWorker:

      • New method findAlternateLocalContents to find all alternate locale contents instead of just one specific.
      • Overloaded methods of findAlternateLocalContents and findAlternateLocalContent to enable/disable cache use.
      • These methods are no longer case sensitive when comparing localeStrings

      Changes to view-entites ProductContentAndInfo and ProductCategoryContentAndInfo:

      • Both now use an outer join instead of inner join between DataResource and Content, because there may be a Content object without a DataResource for its locale but with alternate locale content objects associated to it.

      Attachments

        Issue Links

          Activity

            People

              mbrohl Michael Brohl
              cshan Chenghu Shan
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: