Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-55820 Custom field value is lost when a user don't have EDIT permission on that custom field
  3. LPS-55824

Custom field value is lost when a user don't have EDIT permission on that custom field editing a wiki page


    • Branch Version/s:
    • Backported to Branch:


      Reproduction steps:

      1. Start vanilla Liferay and login with OmniAdmin user
      2. Go to Admin > Control Panel > Roles
      3. Create a new regular role called editor
      4. Define the following permissions for such role:
        Custom Fields > Custom Field: View
        Wiki > Wiki Page: Update
      5. Go to Users and Organizations, Add a new user called contenteditor, assign him to the Liferay site with role editor
      6. Go to Control Panel > Configuration > Custom Fields > Wiki Page
      7. Click Add Custom Field. Key: "Approver" // Type: Text Field - Indexed. Save
      8. Go to the Welcome page and place a Wiki portlet onto it
      9. Add a wiki page with setting the "Approver" approver custom field to "readonlyfield". Click Publish.
      10. 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
      11. 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
      12. 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


          Issue Links



              zsigmond.rab Zsigmond Rab
              zsigmond.rab Zsigmond Rab
              Recent user:
              Gabor Kovacs
              Participants of an Issue:
              0 Vote for this issue
              0 Start watching this issue


                Days since last comment:
                6 years, 29 weeks, 1 day ago


                  Version Package
                  6.2.X EE
                  7.0.0 M6