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

ModuleConfigurationLocalizationTest.testConfigurationLocalization fails due to missing localization

    Description

    Steps to reproduce issue:

    1. Run test ModuleConfigurationLocalizationTest.testConfigurationLocalization

    Expected result: Test passes
    Actual result: Test fails

         [exec] com.liferay.module.configuration.localization.test.ModuleConfigurationLocalizationTest > testConfigurationLocalization FAILED
         [exec]     java.lang.AssertionError: Test failed due to: 
         [exec]     Bundle {id: 291, name: com.liferay.portal.workflow.metrics.service, version: 1.0.0}
         [exec]     	Configuration {pid:com.liferay.portal.workflow.metrics.internal.configuration.WorkflowMetricsConfiguration}
         [exec]     		Missing localization for configuration pid: com.liferay.portal.workflow.metrics.internal.configuration.WorkflowMetricsConfiguration
         [exec]     		Missing localization for attributes: checkSLAJobInterval
         [exec]         at org.junit.Assert.fail(Assert.java:88)
         [exec]         at org.junit.Assert.assertTrue(Assert.java:41)
         [exec]         at com.liferay.module.configuration.localization.test.ModuleConfigurationLocalizationTest.testConfigurationLocalization(ModuleConfigurationLocalizationTest.java:90)
         [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
         [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:206)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:79)
         [exec]         at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
         [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
         [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:57)
         [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
         [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
         [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
         [exec]         at java.lang.Thread.run(Thread.java:745)
    

    Reproduced on:
    Tomcat 9.0.17 + MySQL 5.7
    Portal master-private GIT ID: 66d2b71559d8708bf3f88ef04fad1f02d1b712ed

    Not reproducible on:
    Tomcat 9.0.17 + MySQL 5.7
    Portal master-private GIT ID: 170d65bf0c76fe1774f2652a47ab584ab42f292c

      Attachments

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                46 weeks, 4 days ago

                Packages

                Version Package
                7.3.1 CE GA2
                Master