Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21955

Access to restricted content results in error 500

    Details

      Description

      When a user attempts to access content that he has no read access to, an error 500 is thrown, instead of a 403. That makes it difficult for developers to implement a custom handler for access denied situations.

      Steps to reproduce:
      • Create a folder in the back end
      • Open it, as anonymous, in the front end
      • Switch it to restricted section
      • Refresh the front end page
        => expected result: a 403 exception
        => actual result: 500 exception

        Issue Links

          Activity

          Joaquim Cavalleri (Inactive) created issue -
          Joaquim Cavalleri (Inactive) made changes -
          Field Original Value New Value
          Link This issue relates to EZP-20782 [ EZP-20782 ]
          Joaquim Cavalleri (Inactive) made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          Gunnstein Lye made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Yannick Roger (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Assignee Yannick Roger [ yannick.roger@ez.no ]
          Show
          Yannick Roger (Inactive) added a comment - - edited Fixed in master: https://github.com/ezsystems/ezpublish-kernel/commit/f1aef9dc4aaa3008fb09bcb0d291a4ea73354b22 https://github.com/ezsystems/ezpublish-kernel/commit/96b5254c181feeb36803ab9daa867bebc2d5f4f2 Thanks Joao for the PR.
          Yannick Roger (Inactive) logged work - 18/Nov/13 3:23 PM
          • Time Spent:
            6 hours
             

            .

          Yannick Roger (Inactive) logged work - 19/Nov/13 1:00 AM
          • Time Spent:
            5 hours
             

            .

          Yannick Roger (Inactive) made changes -
          Link This issue relates to EZP-21975 [ EZP-21975 ]
          Yannick Roger (Inactive) made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 6 hours [ 21600 ]
          Worklog Id 42483 [ 42483 ]
          Yannick Roger (Inactive) made changes -
          Time Spent 6 hours [ 21600 ] 1 day, 3 hours [ 39600 ]
          Worklog Id 42484 [ 42484 ]
          Yannick Roger (Inactive) made changes -
          Time Spent 1 day, 3 hours [ 39600 ] 1 day, 5 hours [ 46800 ]
          Worklog Id 42485 [ 42485 ]
          Yannick Roger (Inactive) made changes -
          Status Development [ 3 ] Documentation done [ 10011 ]
          Affects Version/s 5.2 [ 12582 ]
          Affects Version/s 5.3-dev [ 12979 ]
          Component/s DemoBundle [ 11642 ]
          Fix Version/s 5.3 [ 11282 ]
          Fix Version/s 5.1 Maintenance [ 12301 ]
          Fix Version/s 5.2 Maintenance [ 12782 ]
          Yannick Roger (Inactive) logged work - 20/Nov/13 4:24 PM
          • Time Spent:
            2 hours
             

            .

          Pedro Resende (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Yannick Roger [ yannick.roger@ez.no ] Pedro Resende [ pedro.resende@ez.no ]
          Pedro Resende (Inactive) logged work - 21/Nov/13 12:22 PM - edited
          • Time Spent:
            3 hours
             

            Analyse and reproduce issue, write test case and verify the issue has been fixed

          Pedro Resende (Inactive) made changes -
          Time Spent 1 day, 5 hours [ 46800 ] 1 day, 7 hours, 30 minutes [ 55800 ]
          Worklog Id 42508 [ 42508 ]
          Hide
          Pedro Resende (Inactive) added a comment -

          Tested and approved by Q.A.

          Show
          Pedro Resende (Inactive) added a comment - Tested and approved by Q.A.
          Pedro Resende (Inactive) made changes -
          Assignee Pedro Resende [ pedro.resende@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Pedro Resende (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Pedro Resende (Inactive) made changes -
          Time Spent 1 day, 7 hours, 30 minutes [ 55800 ] 2 days [ 57600 ]
          Worklog Id 42508 [ 42508 ]
          Pedro Resende (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 60100 ] EZ* Development Workflow [ 84509 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 84509 ] EZEE Development Workflow [ 123165 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          2h 49m 1 joaquim.cavalleri@ez.no 15/Nov/13 2:52 PM
          Confirmed Confirmed InputQ InputQ
          2m 2s 1 Gunnstein Lye 15/Nov/13 2:54 PM
          InputQ InputQ Development Development
          2h 3m 1 yannick.roger@ez.no 15/Nov/13 4:58 PM
          Development Development Documentation Review done Documentation Review done
          4d 22h 29m 1 yannick.roger@ez.no 20/Nov/13 3:27 PM
          Documentation Review done Documentation Review done QA QA
          18h 5m 1 pedro.resende@ez.no 21/Nov/13 9:33 AM
          QA QA Closed Closed
          2h 50m 1 pedro.resende@ez.no 21/Nov/13 12:23 PM
          Closed Closed Reopened Reopened
          23h 7m 1 pedro.resende@ez.no 22/Nov/13 11:31 AM
          Reopened Reopened Closed Closed
          1s 1 pedro.resende@ez.no 22/Nov/13 11:31 AM

            People

            • Assignee:
              Unassigned
              Reporter:
              Joaquim Cavalleri (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days
                2d