Have a wizard with following setting checked: “Users directed to wizard after signup.”
We do not have “Users cannot skip wizard” checked.
Wizard contains links to topics in some forums, in order to help users complete the wizard.
Last couple of users have complained that clicking on these links, which used to take them to the topic, now just redirects them to the original wizard, making the topics unreadable. (Asking the user to try in an incognito window works.)
Are you sure? That version of the CW plugin is not compatible with that Discourse version.
I am also unable to reproduce this behavior on fee56c2d with latest tests-passed.
EDIT however, I have signed up at your forum and I can reproduce it there. Would you be able to share the wizard json ( in a PM if you don’t want to make it public) ?
My apologies, it looks like you’re right. I think I might have accidentally copy/pasted the discourse version from the Upgrades page, but from the wrong column. The correct version is 3.2.0.beta1-dev (8ef569cda4).
Please let me know if the behavior is fixed if I update to the most recent of everything, that would be great! (Hate to bother you guys over this, but it definitely didn’t previously work this way.)
This solution is now merged. (thanks for review @angus).
@evenrue I performed a successful Production checkout and this works.
Please be aware of the new system … if you want to link people to a Topic within your Wizard to which they will have been redirected, you must put ?ignore_redirect=1 as a querystring parameter in your link.
so, e.g.:
<p>Check out <a href="https://www.myforum.com/t/blah/23?ignore_redirect=1" target="_blank">forum topic on this subject</a>.</p>
This is a one-shot. They will arrive at the desired link and will not be redirected, but if they attempt to change page from there, they will be.
The change was required as the original solution was a lucky outcome but too fragile to survive a more robust redirection logic refactor.