Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4742 Portlet Widget
  3. OFBIZ-4949

Add new actions tag for loading data

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • None
    • framework
    • None
    • Bug Crush Event - 21/2/2015

    Description

      This enhancement is useful when a entity is load by reader (ex: seed) and sometime, it could be modify in data file. If a field is change from a value to null, currently this modification will not be done in the next load.

      When you are first importing new data, quite naturally all fields other than those specified in the file will be null. If, however, you're updating existing data, you might want any field not specified in the file to retain its current value, or you might want the contents of the file to specify everything about a record, in other words "take this data and null out the rest". The alternative to set-other-fields-to-null (or whatever else we might call it) would be a huge number of attribute="" in the file.

      For portletWidget, entity PortalPortal have a lot of field with potential default value, so sometime, first release use some field and when it's reviewed and corrected, some field are changed to null to use the default value (to follow best practice).

      This enhancement will be very useful for portletData file.

      Attachments

        1. OFBIZ-4949.patch
          2 kB
          Olivier Heintz
        2. OFBIZ-4949.patch
          2 kB
          Olivier Heintz
        3. OFBIZ-4949.patch
          2 kB
          Olivier Heintz
        4. OFBIZ-4949-NMA.patch
          4 kB
          Nicolas Malin
        5. OFBIZ-4949-NMA.patch
          14 kB
          Nicolas Malin

        Issue Links

        Activity

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

          People

            hansbak Hans Bakker
            holivier Olivier Heintz
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Agile

                Completed Sprint:
                Bug Crush Event - 21/2/2015 ended 26/Feb/15
                View on Board

                Slack

                  Issue deployment