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

User URL parameters get lost on switching the pagelayout

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Low Low
    • Customer request
    • None
    • Misc
    • None
    • Version: 3.4-0 alpha2
      PHP Version:
      Webserver:
      Database:

    Description

      Custom URL parameters (like .../(param1)/value1/...)
      get lost on switching the pagelayout (e.g. ../layout/set/print/...)

      I'm not sure how it was planned... possible fix in
      kernel/layout/set.php:

      $Result['rerun_uri'] = '/' . implode( '/', array_splice( $Params['Parameters'], 1 ) );
      // added this to append UserParameters to rerun_uri
      foreach( array_keys( $Params['UserParameters'] ) as $param )
      {
      $Result['rerun_uri'] .= '/(' . $param . ')/' . $Params['UserParameters'][$param];
      }

      Attachments

        Activity

          People

            gl gl
            d3033e20-952b-48da-80d2-72ce2e0f7648@ibexaaccounts.onmicrosoft.com Silke Fox
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: