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

Formatting issues on 7.2: Incorrect order 'SiteFriendlyURL'

    Details

      Description

      source-format-jdk8/0

      Issue:

      format-source-files:
           [java] Loading file:/opt/dev/projects/github/liferay-portal-7.2.x/portal-impl/classes/system.properties
           [java] SLF4J: Class path contains multiple SLF4J bindings.
           [java] SLF4J: Found binding in [file:/opt/dev/projects/github/liferay-portal-7.2.x/util-slf4j/classes/org/slf4j/impl/StaticLoggerBinder.class]
           [java] SLF4J: Found binding in [jar:file:/opt/dev/projects/github/liferay-portal-7.2.x/lib/development/slf4j-simple.jar!/org/slf4j/impl/StaticLoggerBinder.class]
           [java] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
           [java] SLF4J: Actual binding is of type [com.liferay.util.sl4fj.LiferayLoggerFactory]
           [java] java.lang.Exception: Found 1 formatting issues:
           [java] 1: Incorrect order 'SiteFriendlyURL': Category 'Audit fields' should come after 'Group instance': ./modules/apps/site/site-service/service.xml (SourceCheck:XMLServiceFileCheck)
           [java] 
           [java] 	at com.liferay.source.formatter.SourceFormatter.format(SourceFormatter.java:458)
           [java] 	at com.liferay.source.formatter.SourceFormatter.main(SourceFormatter.java:287)
      [stopwatch] [run.batch.test.action: 7:20.021 sec]
           [echo] The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal-7.2.x/portal-impl/build.xml:562: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal-7.2.x/portal-impl/build.xml:696: Java returned: 1
            [get] Getting: http://test-1-6/job/test-portal-acceptance-upstream-dxp-batch(7.2.x)/AXIS_VARIABLE=0/3153//consoleText
            [get] To: /opt/dev/projects/github/liferay-portal-7.2.x/20210920113051285.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal-7.2.x/20210920113051285.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal-7.2.x/null1019803553.properties
      

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            harry.chai Harry Chai
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              9 weeks, 2 days ago

                Packages

                Version Package