[opencms-dev] v8-webform error in 8.5.2

Neil Berry nberry at fta.co.uk
Tue Aug 6 12:38:03 CEST 2013


Hi,

Using OpenCms 8.5.2, I get this error on all v8-webforms when adding the 
Confirmation Email tab option to a form.

(TypeError) : Cannot read property 'length' of null

(TypeError) stack: 
Woc at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:6857 
C0c at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:7000 
D0c at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:6424 
P0c at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:7069 
PJ at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:5389 
dd at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:5852 
bc at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:6980 
Sk at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:5922 
nb at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:6765 
gb at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:6829 
Gk at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:3964 
um at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:7048 
Oab at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:7057 
deb at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:6768 
Udb at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:6315 
Rj at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:2831 
ak at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:7048 
rab at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:5990 
Tj at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:5644 
Bl at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:6966 
lm at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:7048 
o3b at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:5419 
w4b<@http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:7001 
c3 at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:3423 
f3 at http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:6244 
@http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html:5302 
fileName: 
http://v8.opencms.fta.co.uk/resources/ade/contenteditor/A33FFDDFC1B3D2BEB10541E5933C2360.cache.html 
lineNumber: 6857 columnNumber: 86: o is null




To fix it, I have to remove the OptionalConfirmationMail from the 
control code:

<OptionalConfirmationMail>
<ConfirmationMailEnabled>false</ConfirmationMailEnabled>
<ConfirmationMailOptional>false</ConfirmationMailOptional>
<ConfirmationCheckboxLabel/>
<ConfirmationField/>
<ConfirmationMailSubject><![CDATA[Email request]]></ConfirmationMailSubject>
<ConfirmationMailText name="ConfirmationMailText0">
<links/>
<content><![CDATA[<p>Thank you for your request.</p>]]></content>
</ConfirmationMailText>
</OptionalConfirmationMail>


Has anyone else had this issue?


Neil Berry
User Experience Designer
Freight Transport Association

T: 01892 552258
M: 07818 450464
@newsfromfta
www.fta.co.uk



Neil Berry
User Experience Designer
Freight Transport Association

T: 01892 552258
M: 07818 450464
@newsfromfta
www.fta.co.uk


----------------------------------------------------------------
Confidentiality note:
---------------------------------------------------------------
The information contained in this message is legally privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this message is strictly prohibited. lf you have received this message in error, please notify us immediately and return the original message to us at info at fta.co.uk.
Please note that the FTA is able to, and reserves the right to, monitor e-mail communications passing through its network. This footnote also confirms that Sophos Antivirus has swept this message for the presence of computer viruses.
Freight Transport Association, Hermes House, St John's Road, Tunbridge Wells, Kent TN4 9UZ
Telephone: (01892) 526171 Fax: (01892) 534989
Freight Transport Association Limited. Registered Office Hermes House, St John's Road, Tunbridge Wells, Kent TN4 9UZ.
Registered in England Number 391957.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130806/3f930390/attachment.htm>


More information about the opencms-dev mailing list