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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.4.7, 3.5.5, 3.7
    • None
    • None
    • None

      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

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

              Created:
              Updated:
              Resolved: