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

Liferay "preferences" permission not checked when submitting action and resource requests to portlet edit mode

Details

    Description

      Steps to reproduce:

      1. Add the "currency converter" portlet to /web/guest/home.
      2. Add a web content display portlet to /web/guest/home.
      3. Create a new web content with the following HTML:

      <form action="/web/guest/home?p_p_id=16&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=edit&_16_struts_action=%2Fcurrency_converter%2Fedit" method="POST"><input name="_16_cmd" type="hidden" value="update" /><input name="_16_symbols" type="radio" value="GDP" /> GDP <br/><input name="_16_symbols" type="radio" value="CNY" /> CNY <br/><input name="_16_symbols" type="radio" value="EUR" /> EUR <br/><input name="_16_symbols" type="radio" value="JPY" /> JPY <br/><input name="_16_symbols" type="radio" value="USD" /> USD <br/><br/><input type="submit" /></form>

      4. Make sure to select the above-created web content for display. It will show up with several radio options and a 'submit' button.
      5. Logout of the portal.
      6. Select any of the options and hit 'submit'.

      Expected behavior:

      You will get an error message. When you hit 'back to full page', the currency converter portlet should remain unchanged.

      Actual behavior:

      You will get an error message. However, when you hit 'back to full page', the currency converter portlet has changed.

      Attachments

        Issue Links

          Activity

            People

              paul.piao Paul Piao (Inactive)
              minhchau.dang Minhchau Dang
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10 years, 48 weeks, 3 days ago

                Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2