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

eZ Publish 5.3: redirect to /login on legacy mode returns module not found

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 5.3
    • Fix Version/s: Customer request, 5.3.2
    • Component/s: 5.x > Legacy IO
    • Labels:
      None
    • Environment:

      eZ Publish 5.3 Platform running on legacy mode

    • Sprint:
      Castor Core S2

      Description

      When using eZ Publish 5.3 on legacy mode we still get redirected to /login if we try to access a restricted location as anonymous.

      This will lead to a Module not found error.

      Steps to reproduce:

      Start from a clean eZ Publish 5.3 site

      1. Edit ezpublish.yml and add legacy_mode: true to your default siteaccess
      2. Navigate to your backend
      3. Create a new new folder with name "Protected" under the Home location
      4. Publish your folder
      5. Go to the Details tab of your folder, and change the section to "Restricted"
      6. Click on the "Set" button
      7. Clear all the caches
      8. Try to access the restricted folder ( http://your.site/Protected )

      You will be redirected to /login, and you will get a Module not found error.

        Issue Links

          Activity

          Ricardo Correia (Inactive) created issue -
          Ricardo Correia (Inactive) made changes -
          Field Original Value New Value
          Status Open [ 1 ] Confirmed [ 10037 ]
          Paulo Lopes (Inactive) made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Joao Inacio (Inactive) made changes -
          Link This issue relates to EZP-22045 [ EZP-22045 ]
          André Rømcke made changes -
          Assignee André Rømcke [ andre.romcke@ez.no ]
          André Rømcke made changes -
          Sprint Castor Core S2 [ 32 ]
          André Rømcke made changes -
          Rank Ranked higher
          André Rømcke made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Show
          André Rømcke added a comment - Merged in: https://github.com/ezsystems/ezpublish-kernel/commit/0bc0f189a0c3b1b0606fcc2d7fdf9a26e04c5d46
          André Rømcke made changes -
          Status Development [ 3 ] Documentation done [ 10011 ]
          Fix Version/s 5.3.3 [ 13484 ]
          Pedro Resende (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee André Rømcke [ andre.romcke@ez.no ] Pedro Resende [ pedro.resende@ez.no ]
          Pedro Resende (Inactive) logged work - 10/Jul/14 10:18 AM
          • Time Spent:
            4 hours
             

            Worked on Story

          Pedro Resende (Inactive) made changes -
          Rank Ranked higher
          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 ]
          André Rømcke made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          André Rømcke made changes -
          Fix Version/s 5.3.2 [ 13483 ]
          Fix Version/s 5.3.3 [ 13484 ]
          André Rømcke made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Pedro Resende (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Pedro Resende (Inactive) made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 4 hours [ 14400 ]
          Worklog Id 49396 [ 49396 ]
          Pedro Resende (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 63826 ] EZ* Development Workflow [ 85199 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 85199 ] EZEE Development Workflow [ 123993 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          2m 56s 1 ricardo.correia@ez.no 08/Jul/14 1:41 PM
          Confirmed Confirmed InputQ InputQ
          6m 31s 1 Paulo Lopes (Inactive) 08/Jul/14 1:47 PM
          InputQ InputQ Development Development
          21h 19m 1 André Rømcke 09/Jul/14 11:07 AM
          Development Development Documentation Review done Documentation Review done
          6h 41m 1 André Rømcke 09/Jul/14 5:49 PM
          Documentation Review done Documentation Review done QA QA
          15h 32m 1 pedro.resende@ez.no 10/Jul/14 9:21 AM
          QA QA Closed Closed
          8h 5m 1 pedro.resende@ez.no 10/Jul/14 5:27 PM
          Closed Closed Reopened Reopened
          3d 15h 51m 2 pedro.resende@ez.no 14/Jul/14 9:19 AM
          Reopened Reopened Closed Closed
          31s 2 pedro.resende@ez.no 14/Jul/14 9:19 AM

            People

            • Assignee:
              Unassigned
              Reporter:
              Ricardo Correia (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              7 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 - 4 hours
                4h

                  Agile