Details
-
Technical Task
-
Status: Closed
-
Resolution: Completed
-
None
-
6.2.x
-
Committed
Description
Reproduction steps:
- Start vanilla Liferay and login with OmniAdmin user
- Go to Admin > Control Panel > Roles
- Create a new regular role called editor
- Define the following permissions for such role:
Custom Fields > Custom Field: View
Wiki > Wiki Page: Update - Go to Users and Organizations, Add a new user called contenteditor, assign him to the Liferay site with role editor
- Go to Control Panel > Configuration > Custom Fields > Wiki Page
- Click Add Custom Field. Key: "Approver" // Type: Text Field - Indexed. Save
- Go to the Welcome page and place a Wiki portlet onto it
- Add a wiki page with setting the "Approver" approver custom field to "readonlyfield". Click Publish.
- Click again Edit, then Custom Fields and assert the text "readonlyfield" has been saved and it's visible. Close the window without making any change
- Login with the contenteditor user and open the wiki page in edit mode. Assert that the custom field value is visible in read only mode
- Publish the wiki page without making any change. Open again the wiki page in edit mode and check the Custom field value:
Expected: The value to be preserved and visible in read only mode
Actual behavior: the custom field value has disappeared
Attachments
Issue Links
- relates
-
LPE-15027 Custom field value on a Wiki page is lost when a user without editing permissions for the custom field publishes the page
-
- Closed
-