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

View parameters not correctly injected in a legacy full view executed through a Twig pagelayout

    XMLWordPrintable

Details

    Description

      The view parameters available in the full view of node that is executed through a Twig pagelayout are not correctly set.

      The $view_parameters variable always contains the default values (no matter the view parameters set in the URL) + a viewbaseLayout key. For instance, on /(offset)10/(foo)/bar, {$view_parameters|dump( true(), 2, 'text' )} returns:

      offset (boolean=false)
      year (boolean=false)
      month (boolean=false)
      day (boolean=false)
      namefilter (boolean=false)
      viewbaseLayout (string='EzPublishCoreBundle::viewbase_layout.html.twig')
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            damien.pobel-obsolete@ez.no Damien Pobel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 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 - 6 hours
                6h