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

Split package in portal-reports-engine-console api/service

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0 DXP FP5
    • Fix Version/s: None
    • Component/s: Fault Tolerance
    • Labels:
      None

      Description

      Exception caught by ci in 7.0.x-ee because both

      modules/private/apps/portal-reports-engine/portal-reports-engine-console-service/src/main/java/com/liferay/portal/reports/engine/console/constants/

      and

      modules/private/apps/portal-reports-engine/portal-reports-engine-console-api/src/main/java/com/liferay/portal/reports/engine/console/constants/

      have the same package. Which causes the following test failures:

      [junit] Testcase: testSplitPackage(com.liferay.portal.split.packages.SplitPackagesTest): FAILED
      [junit] Detected split packages in modules/private/apps/portal-reports-engine/portal-reports-engine-console-service and modules/private/apps/portal-reports-engine/portal-reports-engine-console-api: [com.liferay.portal.reports.engine.console.constants]
      [junit] junit.framework.AssertionFailedError: Detected split packages in modules/private/apps/portal-reports-engine/portal-reports-engine-console-service and modules/private/apps/portal-reports-engine/portal-reports-engine-console-api: [com.liferay.portal.reports.engine.console.constants]
      [junit] at com.liferay.portal.split.packages.SplitPackagesTest._checkSplitPackages(SplitPackagesTest.java:136)
      [junit] at com.liferay.portal.split.packages.SplitPackagesTest.access$000(SplitPackagesTest.java:40)
      [junit] at com.liferay.portal.split.packages.SplitPackagesTest$1.preVisitDirectory(SplitPackagesTest.java:93)
      [junit] at com.liferay.portal.split.packages.SplitPackagesTest$1.preVisitDirectory(SplitPackagesTest.java:62)
      [junit] at java.nio.file.Files.walkFileTree(Files.java:2677)
      [junit] at java.nio.file.Files.walkFileTree(Files.java:2742)
      [junit] at com.liferay.portal.split.packages.SplitPackagesTest.testSplitPackage(SplitPackagesTest.java:60)

      Fix is simple, move ReportsEngineConsoleDestinationNames.java from service to api.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            peter.fellwock Peter Fellwock (Inactive)
            Participants of an Issue:
            Recent user:
            Sharry Shi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              4 years, 1 week, 5 days ago

                Packages

                Version Package