Mail
herzundhof.at - Leben und Lieben als Bauer und Bäuerin
Thursday, September 09, 2010 Forum   Search
Register

Login

English
Deutsch
Forum
 
ForumForumhelferlein_Supp...helferlein_Supp...helferlein_Form...helferlein_Form...Critical Error - Send ToCritical Error - Send To
Previous Previous
 
Next Next
New Post
 1/25/2009 8:18 AM
 
 Modified By go sens  on 1/25/2009 9:29:30 AM

 When using the Send To field, if the Value does not contain an email address in the valid format as specified in the Help on the Helferlein site (ie if the field is left blank or no email address is entered) then a critical error is encountered after submitting it:

 

A critical error has occurred.
Length cannot be less than zero. Parameter name: length

 

At this time the form is no longer visible so the field cannot be edited and corrected; administrator needs to access the database directly to correct the record or delete it.  Some validation to prevent this error, or a way to render the form despite the issue, would be appreciated.

thanks - gosens

New Post
 1/25/2009 8:27 AM
 

 I should add - I'm using version 1.05 with DNN 4.9.1 and SQL2005.

New Post
 1/26/2009 5:59 PM
 

Gosens,

I don't understand the sense of having a value in the SendTo field without an email address. That's the way it works.

Best wishes

Michael


Michael Tobisch
New Post
 1/27/2009 3:35 PM
 

 Hi Michael

I agree that the point of the field is the send to email address.  My suggestion would simply help those who accidentally submit the form without something there, or with it malformed (such as I did).  If it gave an error without preventing you from fixing it, that would be fine because users can correct it.  But since it prevents you from fixing it on the page, you're out of luck unless you have SQL experience and access to the table.  You can't even remove the form because the page won't load.  Simply adding validation or cooking the output of the form in that situation would allow people to fix their mistake.

thanks - gosens

 

New Post
 1/27/2009 6:10 PM
 

Gosens,

Ahhh - now I know what you mean. Thanks for reporting that.

Best wishes
Michael


Michael Tobisch
Previous Previous
 
Next Next
ForumForumhelferlein_Supp...helferlein_Supp...helferlein_Form...helferlein_Form...Critical Error - Send ToCritical Error - Send To

Print  
Donations

Wenn Sie die hier verfügbare Software für nützlich halten und einsetzen möchten, bitten wir Sie, sich beim Programmierer mit einer Spende zu bedanken. Spenden werden verwendet, um die Software weiterzuentwickeln und in das DNN Review-Programm einzureichen.

If you find any of the free software on this web site useful we encourage you to make a donation to the programmer. Donations will be used to to further develop the software and to join the DNN Review Program.

Copyright © 2007 by Michael Tobisch   Terms Of Use  Privacy Statement