PUBLIC - Liferay Portal Community Edition

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

Details

  • Branch Version/s:
    6.1.x
  • Backported to Branch:
    Committed
  • Similar Issues:
    Show 4 results 

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.

Issue Links

Activity

Hide
Michael Saechang added a comment -

Committed on:
6.1.x GIT ID: 084ca788439f1c7e1dc0115626095614da2361c0.
6.2.x GIT ID: 283bf121724d34ce66670068ccb0981e6d2004ee.

Show
Michael Saechang added a comment - Committed on: 6.1.x GIT ID: 084ca788439f1c7e1dc0115626095614da2361c0. 6.2.x GIT ID: 283bf121724d34ce66670068ccb0981e6d2004ee.
Hide
Paul Piao added a comment - - edited

PASSED Manual Testing following steps in description.

Fixed on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 6d6b8814da7c7295ed4cab8420e070793361f856.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: c53464a46eea5079ce5d4399ac4d981a3474a9dc.
The currency converter portlet remain unchanged.

Show
Paul Piao added a comment - - edited PASSED Manual Testing following steps in description. Fixed on: Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 6d6b8814da7c7295ed4cab8420e070793361f856. Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: c53464a46eea5079ce5d4399ac4d981a3474a9dc. The currency converter portlet remain unchanged.
Hide
Cynthia Wilburn added a comment -

Reopening to add 6.1.1 CE GA2. Close as Fixed.

Show
Cynthia Wilburn added a comment - Reopening to add 6.1.1 CE GA2. Close as Fixed.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: