When in a wizard form loaded via AJAX that had a destination parameter, the form's action will be form?query[destination]=DESTINATION rather than form?destination=DESTINATION

I think between D6 and D7, some of the link handling functions converted from using a format like:

array(
  'options' => array(
    'query' => array(...),
  ),
)

... to ...

array(
  'query' => array(...),
)

So, I think that's what may have happened here? Setting a destination on a wizard must be a pretty uncommon thing to do :-)

CommentFileSizeAuthor
#2 ctools-wizard-destination-2897965-2.patch578 bytesdsnopek

Comments

dsnopek created an issue. See original summary.

dsnopek’s picture

Status: Active » Needs review
StatusFileSize
new578 bytes

Here's a patch that fixes this in my testing!

cboyden’s picture

  • japerry committed c2915f3 on 7.x-1.x authored by dsnopek
    Issue #2897965 by dsnopek: Wizard sets destination incorrectly
    

japerry credited japerry.

japerry’s picture

Status: Reviewed & tested by the community » Fixed

Wow thats an old bug. Fixed!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.