Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-67505

DDL Data Definition changes not syncing with form templates

    Details

      Description

      Description:
      DDL Data Definition changes not syncing with form templates.

      Steps to Reproduce (adapt to 7.0): - [CHANGED FROM LPP:]
      1) Traverse to DDL (Admin > Content > DDL)
      2) Manage Data Definitions > Add (Structure) > Put Select Field on page > Set Required = true for Select Element > Save
      3) For that Structure > Actions > Manage Templates > Add Form Template > Save
      4) Re-edit same Structure > Add Select OPTION called "Option 4" anywhere in the Option Field > Save
      5) Re-edit same Template (Actions > Manage Templates) > click on select element and look at the options

      Expected Behavior: Option should appear in Template just as it was placed in the Structure

      Actual Behavior: Changes do not appear to reflect and "Option 4" is not

      Testing:
      Reproduced in 6.2.x - ea8d034b9afdc6b4b76dde47ac12f1eaa6ba65d6

      NOTE:
      As according to the message boards post:
      https://in.liferay.com/web/global.engineering/forums/-/message_boards/message/22989367#_19_message_23355551

      • The fix should target implement changes to propagated over from Structures to Templates ONLY IF they fields are labeled as Required
      • Aiming to leave Field Properties unchanged except for Select and Radio

        Attachments

        1. Fixed.PNG
          Fixed.PNG
          11 kB
        2. FixedM.PNG
          FixedM.PNG
          14 kB
        3. Reproduced.PNG
          Reproduced.PNG
          11 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 8 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP5
                  7.0.0 DXP SP1
                  7.0.3 CE GA4
                  7.1.X
                  Master