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

AllowedUsersByObjectAction : AmetysRepositoryException wrongly caught

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.0
    • 4.1.0
    • Plugin : Rights
    • None
    • 4.1 M4

      In the _act method, the AmetysRepositoryException can also be thrown by _rightManager.getReadAccessAllowedUsers(ametysObject) (line 144) and not only _resolver.resolveById(objectId) (line 141).

      So the error message is too specific and the error on the RightManager method should be logged as WARN at least.

            cedric Cédric Damioli
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: