Moving properties gets "Input string was not in a correct format." Options
desmo
Posted: Tuesday, August 07, 2007 3:43:58 PM

Rank: Aficionado

Joined: 7/19/2006
Posts: 162
Location: NYC
Hi,

When I move a property to another position (up or down) in a tab, I'm getting:

Code:

Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Input string was not in a correct format.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:


[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +2725283
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +102
   System.Int32.Parse(String s) +20
   umbraco.controls.ContentTypeControlNew.saveProperties() +1859
   umbraco.controls.ContentTypeControlNew.save_click(Object sender, ImageClickEventArgs e) +132
   System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +105
   System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +115
   System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102


This is v2.17. Anyone know how to fix this?

TIA,

- Mark

“Algorithms are small but beautiful”, Dr. Karp observed.
tkahn
Posted: Monday, April 21, 2008 4:34:02 PM

Rank: Fanatic

Joined: 11/24/2006
Posts: 322
Location: Stockholm, Sweden
I get this error as well, but in Umbraco 3.0.3. It doesn't appear all the time - only on certain document types....

Web Developer at Kärnhuset - http://www.karnhuset.net - Stockholm, Sweden
tkahn
Posted: Monday, April 21, 2008 4:38:59 PM

Rank: Fanatic

Joined: 11/24/2006
Posts: 322
Location: Stockholm, Sweden
AHA! :d/

Found the source of the error: it's connected to the name of the tab where you have the property you want to move.

If the tab name contains a comma character (,) you get this error. Remove the comma and it will work. I guess it's a bug, but I don't know if I have the time to submit it to Codeplex right now. Will try to make some time...

Web Developer at Kärnhuset - http://www.karnhuset.net - Stockholm, Sweden
tkahn
Posted: Monday, April 21, 2008 4:48:39 PM

Rank: Fanatic

Joined: 11/24/2006
Posts: 322
Location: Stockholm, Sweden
The error has been reported on CodePlex. :)

Web Developer at Kärnhuset - http://www.karnhuset.net - Stockholm, Sweden
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.