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

EntityUtilProperties

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • Trunk, Upcoming Branch
    • 22.01.01
    • ALL COMPONENTS
    • None

    Description

      Ofbiz reads properties from either a properties file or the entity:SystemProperty. The way it works previously is that ofbiz reads from the entity:SystemProperty first and if there is no value associated with the target propertyname, it would then locate the value from the relevant properties file.
      In other words, if there is a database entry for a property, the database entry should override the associated properties file.
      The issue is that if a database entry exist but the value is empty, it would look for a value from the properties file. It should not do so. If a database entry exists for the propertyname of interest, the value should be taken from the database even if it holds an empty value.

      Attachments

        1. OFBIZ-7112.patch
          9 kB
          Wai
        2. OFBIZ-7112.patch
          9 kB
          Wai
        3. OFBIZ-7112.patch
          9 kB
          Jacques Le Roux
        4. OFBIZ-7112.patch
          15 kB
          Wai
        5. OFBIZ-7112.patch
          1 kB
          Aditya Sharma

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jleroux Jacques Le Roux
            wt Wai
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment