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

PortalUtil.generateRandomKey does't generate random keys

    Details

      Description

      If you add two instances of a instantiable portlet in a page and print out the result of PortalUtil.generateRandomKey for a given input, the result will be the same for both instances.

      My guess is that the results are only unique per portlet request, not globaly.

      This causes problems specially for taglibs that rely on that method's output to give a HTML element an id.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  6.2.0 CE RC5