Item8103: FormPlugin rendering is non-deterministic, forms become useless

pencil
Priority: Urgent
Current State: Closed
Released In:
Target Release:
Applies To: Extension
Component: FormPlugin
Branches:
Reported By: Foswiki:Main.UlrichSpoerlein
Waiting For: Main.ArthurClemens
Last Change By: ArthurClemens
Running Foswiki 1.0.4 on Apache 2.2 with mod_perl and FormPlugin will behave non-deterministic. When refreshing a page multiple times, about half of the times the starting
tags will not be printed, rendering the form useless.

The example provided by the Plugin:
---++ test

%STARTFORM{ name="myform" action="view" }%
%FORMELEMENT{ name="Name" type="text" title="Enter your name:" mandatory="on" }%
%FORMELEMENT{ type="submit" buttonlabel="Submit" }%
%ENDFORM%

will be rendered as:

<h2><a name="test"></a> test </h2>
<p />
<p />

<a name="FormElementName"></a>
<p> <span class="formPluginTitle">Enter your name:</span> <br /> <input type="text" name="Name" tabindex="41"  size="40" class="foswikiInputField" /> <span class="formPluginMandatory">*</span>  </p>
<input type="hidden" name="FP_validate_Name" value="Name=s"  />
<a name="FormElement"></a>
<p> <input type="submit" tabindex="42" name="" value="Submit" class="foswikiSubmit" />   </p>
</div><!--/FormPlugin form end--><div><input type="hidden" name=".cgifields" value="IssueType"  /></div>
</form>

Pretty b0rken, huh?

-- UlrichSpoerlein - 05 Apr 2009

Hopefully fixed with release FormPlugin version 1.5, Item1962.

-- ArthurClemens - 24 Aug 2009

ItemTemplate edit

Summary FormPlugin rendering is non-deterministic, forms become useless
ReportedBy Foswiki:Main.UlrichSpoerlein
Codebase 1.0.4
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component FormPlugin
Priority Urgent
CurrentState Closed
WaitingFor ArthurClemens
Checkins
ReleasedIn
Topic revision: r3 - 24 Aug 2009, 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