OFBiz
  1. OFBiz
  2. OFBIZ-4362

MapKey for CMS content cannot be updated

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 14.12.01, 12.04.06, 13.07.02
    • Component/s: content
    • Labels:
      None

      Description

      When creating a CMS content with a MapKey, the ContentAssoc is created correctly, but the value cannot be updated any more. Moreover, the current value is not displayed in the UI at all.

      1. OFBIZ-4362.patch
        7 kB
        Deepak Dixit
      2. OFBIZ-4362_update_cms_mapkeys.patch
        18 kB
        Manuela Gruendlinger

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        1m 27s 1 Manuela Gruendlinger 05/Aug/11 12:53
        Patch Available Patch Available Closed Closed
        1198d 41m 1 Ashish Vijaywargiya 15/Nov/14 12:34
        Jacques Le Roux made changes -
        Fix Version/s Upcoming Branch [ 12327361 ]
        Fix Version/s 12.04.06 [ 12328243 ]
        Fix Version/s 13.07.02 [ 12328788 ]
        Hide
        Jacques Le Roux added a comment -

        R12.04 r1639934

        Show
        Jacques Le Roux added a comment - R12.04 r1639934
        Ashish Vijaywargiya made changes -
        Status Patch Available [ 10002 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Hide
        Ashish Vijaywargiya added a comment -

        Thanks Manuela for reporting the issue, Thanks Deepak for providing the patch. Changes are committed at following revisions:

        trunk - 1639867
        13.07 - 1639868

        Show
        Ashish Vijaywargiya added a comment - Thanks Manuela for reporting the issue, Thanks Deepak for providing the patch. Changes are committed at following revisions: trunk - 1639867 13.07 - 1639868
        Ashish Vijaywargiya made changes -
        Assignee Ashish Vijaywargiya [ toashishvijay ]
        Deepak Dixit made changes -
        Attachment OFBIZ-4362.patch [ 12681732 ]
        Deepak Dixit made changes -
        Attachment OFBIZ-4569.patch [ 12681731 ]
        Deepak Dixit made changes -
        Attachment OFBIZ-4569.patch [ 12681731 ]
        Hide
        Deepak Dixit added a comment -

        Steps to regenerate :

        • Goto http://demo-trunk-ofbiz.apache.org/content/control/EditAddContent
        • Click on create new content
        • While creating a CMS content in content manager using a map key, initially map key was not set and was not displayed at UI.
        • thruDate was not updating.
        • After updating value of contentIdTo and contentId was same.
        • fromDate should not be updated after creation as its part of primary key.
        Show
        Deepak Dixit added a comment - Steps to regenerate : Goto http://demo-trunk-ofbiz.apache.org/content/control/EditAddContent Click on create new content While creating a CMS content in content manager using a map key, initially map key was not set and was not displayed at UI. thruDate was not updating. After updating value of contentIdTo and contentId was same. fromDate should not be updated after creation as its part of primary key.
        Manuela Gruendlinger made changes -
        Attachment OFBIZ-4362_update_cms_mapkeys.patch [ 12489464 ]
        Hide
        Manuela Gruendlinger added a comment -

        The patch passes on all parameters required for displaying and updating the MapKey.

        Show
        Manuela Gruendlinger added a comment - The patch passes on all parameters required for displaying and updating the MapKey.
        Manuela Gruendlinger made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Manuela Gruendlinger created issue -

          People

          • Assignee:
            Ashish Vijaywargiya
            Reporter:
            Manuela Gruendlinger
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development