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

Language Switcher using sub-requests throws an exception in preview

    XMLWordPrintable

    Details

    • Sprint:
      Castor Core S4

      Description

      When following the documentation for Language Switcher feature, Using sub-requests, at https://doc.ez.no/display/EZP/Language+Switcher, with dev environment when previewing you'll get the following error:

      An exception has been thrown during the rendering of a template ("Parameter "locationId" for route "_ezpublishLocation" must match "[^/]++" ("" given) to generate a corresponding URL.") in clevertiezp23222Bundle::languages.html.twig at line 10. 
      

      Note: This problem will only occur while the object is still a draft

        Attachments

        1. ezp23234-stack-trace
          51 kB
        2. stack_trace.txt
          40 kB
        3. stack-1.png
          stack-1.png
          79 kB
        4. stack-2.png
          stack-2.png
          133 kB
        5. stack-3.png
          stack-3.png
          125 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              pedro.resende-obsolete@ez.no Pedro Resende (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 - 4 hours, 15 minutes
                  4h 15m