Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-6172

The data is lost when there is a right read-write-direction="read" and when a user without the right save the content

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 3.4.7, 3.5.5, 3.7
    • None
    • None

    Description

      How to reproduce

      • Declare a metadata with a right:
        read-write-direction="read"
        for example
        <cms:metadata name="alt-textbis" type="string">
        			<label i18n="true">CONTENT_NEWS_IMAGE_ALT</label>
        			<description i18n="true">CONTENT_NEWS_IMAGE_ALT_DESC</description>
        			<restrict-to>
        				<right read-write-direction="read" id="Thumbnail_Vertical_Rights"/>
        			</restrict-to>
        		</cms:metadata>
        
      • edit the content with the right and set something, save
      • modify your right
      • edit the content, the field is not displayed, save
      • restore your right
      • edit the content

      Actual behavior

      • the content of the field is lost

      Attachments

        Activity

          People

            Unassigned Unassigned
            fravetier Frederic Ravetier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: