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

User is able to create a Form Template with multiple of the same unique field defined in the data definition

    Details

    • Story Points:
      6
    • Fix Priority:
      3
    • Sprint:
      Sprint 5: Nov, 23 - Dec, 04

      Description

      1. Add a Data Definition or plan to use an existing one
      2. Add a Form Template for the Data Definition you are working on
      3. Verify unique fields defined by the structure are grayed out and can not be added
      4. Go to the Source tab, copy paste any of the fields so as to have two of the same field (please see the attached animated gif for an example)
      5. Click Save

      Expected result:
      User is unable to save because of a duplicate of a unique field defined by the data definition

      Actual result:
      User is able to save and use this definition despite the data definition

      Tomcat 7.0.42 + MySQL 5.5. Portal ee-6.2.x EE GIT ID: ad8c61937f681015ad410e2afdf1f9dc7d310e29.
      Tomcat 7.0.42 + MySQL 5.5. Portal master GIT ID: b64b2c9a3afbbfd28b28243fa5276bdcd0aa82a2.

        Attachments

          Activity

            People

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

              Dates

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

                Packages

                Version Package
                7.0.0 Alpha 3