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

DDM field name can contain non-alphanumeric characters

Details

    Description

      After LPS-91985, non-alphanumeric characters can be added to field names.
      This is too lenient, and it also causes some breaks in our tests.

      Steps to reproduce:

      1. Go to Content > Dynamic Data Lists > Add a New Data Definition.
      2. Add a text field to it.
      3. Click the text field > Settings, edit name to ` or ! and save.

      Expected result:
      Field name can not be saved and have a message: Please enter only alphanumeric characters or underscore.

      Actual result:
      Non alphanumeric characters field name can be saved.

      It's better to allow non-ASCII (Unicode) alphanumeric characters, like áéőű and the like, but prohibit any other characters.

      Attachments

        Issue Links

          Activity

            People

              cleyton.magalhaes Cleyton Magalhaes (Inactive)
              istvan.dezsi Istvan Dezsi
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                4 years, 2 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP82
                  7.0.10.12 DXP SP12
                  7.0.X
                  7.1.10 DXP FP10
                  7.1.10.2 SP2
                  7.1.3 CE GA4
                  7.1.X
                  Master