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-55823

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


    • 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
        Documents and Media > Document: 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 > Document
      7. Click Add Custom Field. Key: "Approver" // Type: Text Field - Indexed. Save
      8. Go to the Welcome page and place a Documents and Media portlet onto it
      9. Add a Basic Document 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 document in edit mode. Assert that the custom field value is visible in read only mode
      12. Publish the document without making any change. Open again the document 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



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


                • Created:
                  Days since last comment:
                  5 years, 7 weeks, 1 day ago


                  Version Package
                  6.2.X EE
                  7.0.0 M6