Item10273: noredirect parameter broken

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: FormPlugin
Branches:
Reported By: StefanosKouzof
Waiting For:
Last Change By: ArthurClemens
The noredirect=on parameter in FormPlugin does nothing at all. It should not allow redirection from the submitting form, but the topic gets created and the user is redirected to the newly created topic as if this parameter was not set.

Probably is the same problem as in Item9125 (redirectto parameter broken)

-- StefanosKouzof - 20 Jan 2011

I believe (I didn't write the code) that noredirect was not intended to not redirect after topic creation, but rather to not redirect after form validation. I haven't seen a use case, and the new implementation may be wrong.

In any case, in FormPlugin 2.0 you can use:
redirectto="%TOPIC%"
to immediately return to the current topic after a topic save. This works with and without validation.

-- ArthurClemens - 30 Apr 2011

 

ItemTemplate edit

Summary noredirect parameter broken
ReportedBy StefanosKouzof
Codebase 1.0.9
SVN Range
AppliesTo Extension
Component FormPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r2 - 30 Apr 2011, ArthurClemens
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy