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

[Restrictions] Check at start the attribute restrictions with empty right id

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3.0
    • 4.2.0
    • None
    • None
    • 4.3 M2

      How to reproduce:

      • Add a restriction on a content's attribute
        • Make a right restriction
        • Let the right id empty
        • Example: 
      <restrict-to>
          <right read-write-direction="write" id="" />
       </restrict-to>
      • Try to create a content of this type
        • An error occurs because the RightManager can't deal with this empty right id

      The application should fail earlier, while parsing the restriction, not while trying to use it.

       

          [CMS-9959] [Restrictions] Check at start the attribute restrictions with empty right id

          There are no comments yet on this issue.

            cbayle Caroline Bayle
            cbayle Caroline Bayle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: