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

As a developer I would like for the My Accout portlet to always be considered a control panel portlet, and for its control panel full url to be generated accordingly.

    Details

      Description

      This can cause issues such as found in PortalImplContolPanelFullURLTest (Error occurs inconsistently on master):

      [junit] Testcase: testMyAccountPortlet(com.liferay.portal.util.PortalImplControlPanelFullURLTest): FAILED
      [junit] expected:<.../localhost:-1/group/[]control_panel/manage...> but was:<.../localhost:-1/group/[3xzxw4fy/~/]control_panel/manage...>
      [junit] junit.framework.AssertionFailedError: expected:<.../localhost:-1/group/[]control_panel/manage...> but was:<.../localhost:-1/group/[3xzxw4fy/~/]control_panel/manage...>
      [junit] at com.liferay.portal.util.PortalImplControlPanelFullURLTest.testMyAccountPortlet(PortalImplControlPanelFullURLTest.java:86)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
      [junit] at com.liferay.portal.test.rule.LiferayIntegrationTestRule$1$1.evaluate(LiferayIntegrationTestRule.java:133)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:81)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:81)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:81)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:81)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:81)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:81)
      [junit] at com.liferay.portal.test.rule.LiferayIntegrationTestRule$1$1.evaluate(LiferayIntegrationTestRule.java:133)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:81)
      [junit] at com.liferay.portal.kernel.test.rule.BaseTestRule$2.evaluate(BaseTestRule.java:81)

        Attachments

          Activity

            People

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

              Dates

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

                Packages

                Version Package
                7.0.1 CE GA2