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

          Pedro Resende (Inactive) logged work - 10/Jul/14 10:18 AM
          • Time Spent:
            4 hours
             

            Worked on Story

            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