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

roles - portlet 128 - Changing language causes "This URL can only be invoked using POST" error

    Details

      Description

      When there is an error message on a portlet and user changes language, the error message changes to "... is temporarily unavailable." and there is a WARN in the logs:

      This URL can only be invoked using POST: /web/guest/home?p_auth=...
      

      And an exception after the WARN:

      09:48:14,095 ERROR [RuntimePageImpl-7][render_portlet_jsp:132] null
      com.liferay.portal.security.auth.PrincipalException: /web/guest/home?p_auth=0O5laTNu&p_p_id=20&p_p_lifecycle=1...
      

      See the attached log.

      steps to reproduce

      1. install liferay
      2. copy the attached liferay-display.xml into tomcat-7.0.42\webapps\ROOT\WEB-INF\liferay-display.xml
        it unhides some portlet on control-panel
      3. start Liferay
      4. add language portlet
      5. add Roles portlet form the "Tools" category
      6. add a role with name "test"
      7. try to add a second role with the same name ("test")
      8. portlet shows and error
      9. change language
      10. WARN and ERROR in log, portlet says: "... est temporairement indisponible." (or similar message in other language)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peter.borkuti Peter Borkuti (Inactive)
                Reporter:
                peter.borkuti Peter Borkuti (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 28 weeks, 4 days ago

                  Packages

                  Version Package
                  7.0.0 M3