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

MapKey for CMS content cannot be updated

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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_update_cms_mapkeys.patch
        18 kB
        Manuela Gruendlinger
      2. OFBIZ-4362.patch
        7 kB
        Deepak Dixit

        Activity

        Hide
        mgruendlinger Manuela Gruendlinger added a comment -

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

        Show
        mgruendlinger Manuela Gruendlinger added a comment - The patch passes on all parameters required for displaying and updating the MapKey.
        Hide
        deepak.dixit 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 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.
        Hide
        toashishvijay 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
        toashishvijay 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
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        R12.04 r1639934

        Show
        jacques.le.roux Jacques Le Roux added a comment - R12.04 r1639934

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development