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:
            Joel Garman
            Engineering Assignee:
            Igor Beslic
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.0 DXP FP86
                7.0.10.12 DXP SP12
                7.0.X
                7.1.10 DXP FP13
                7.1.X
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                7.2.X
                7.2.1 CE GA2
                7.3.10 DXP GA1
                Master