Foswiki on GitHub is open for business! Next release meeting: Monday September 29, 1300Z

Item8503: CSRF validation token consumed by mandatory field warning

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine    
When a user forgets to provide a required field she will receive a dialog saying so. Alas, the validation token has now been consumed. So going back in the browser as suggested and saving again will trigger yet another warning. That's probably a bit too much.

-- MichaelDaum - 12 Feb 2010

Agreed, it's too much. If potential data loss is involved, it's far too much; however you don't mention this; if not, then it's not Urgent but Normal. Also, do you have a suggestion how it can be overcome?

-- CrawfordCurrie - 11 Mar 2010

When saving from PatternSkin (the default skin) the JS intercepts the save and tells you about the missing mandatory field. This is not a solution, but it does reduce the impact of this problem significantly, so I'm reducing the priority from Urgent to Normal. An adjustment to the wording of the "go back" message can further ameliorate the symptoms.

Note there is another issue that you may see when saving this way; Item8738.

-- CrawfordCurrie - 20 Mar 2010

 

ItemTemplate edit

Summary CSRF validation token consumed by mandatory field warning
ReportedBy MichaelDaum
Codebase
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:6804
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r8 - 04 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License