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

          Caroline Bayle made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Caroline Bayle made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Ready to merge [ 10208 ] New: Resolved [ 5 ]
          Caroline Bayle made changes -
          Status Original: Functional review OK [ 10207 ] New: Ready to merge [ 10208 ]
          Caroline Bayle made changes -
          Status Original: Available for review [ 10005 ] New: Functional review OK [ 10207 ]
          Caroline Bayle made changes -
          Status Original: In Progress [ 3 ] New: Available for review [ 10005 ]
          Caroline Bayle made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Caroline Bayle created issue -

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

              Created:
              Updated:
              Resolved: