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

Enumeration class must not use Util classes to avoid CI issues

    Details

    • Branch Version/s:
      7.2.x, 7.1.x, 7.0.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      4

      Description

      LicenseManagerMessageType.java refers to JSONUtil, JSONFactoryUtil.

      Those classes full initialisation depend on service tracker and OSGi container speed to inject necessary dependency objects.

      In CI environment it may happen that '@Component' is activated prior all Util classes are ready.

      In this particular case, as it is quite simple JSON creation, use string pattern to form JSON message. 

        Attachments

          Activity

            People

            • Assignee:
              sharry.shi Sharry Shi
              Reporter:
              igor.beslic Igor Beslic
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
              Engineering Assignee:
              Igor Beslic
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.X
                7.1.10 DXP FP13
                7.1.X
                7.2.X
                Master