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

generateRandomKey returns string with 'null_null_'

    Details

    • Fix Priority:
      3

      Description

      Steps to reproduce:
      1. Navigate to the Control Panel -> Custom Fields -> User
      2. Add Custom Field with a key of "testGroups" and a "True/False", click Save
      3. Navigate to Control Panel -> Users -> Users & Organizations -> add User
      4. Scroll down to Custom Fields and inspect HTML of the Testgroups

      Expected: The id attribute of Select is unique and does not contain null

      Actual: The id attribute contains "null_null_"

      <select class="form-control" id="eada_null_null_testGroups" ...<option value="1">True</option> <option selected="" value="0">False</option> </select>
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 34 weeks, 6 days ago

                  Packages

                  Version Package
                  Master