Multiple File Upload breaks the "Insert picture -> Create new" in the rich text editor
The "Multiple File Upload" works fine after applying the quickfix. There's only one thing bugging me: the "Insert picture -> Create new" in the rich text editor functionality breaks after trying to upload from there. I get the following error:
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.
I have not used the control but I assume it returns a comma seperated list of Node ID's in a string. Looking at the error message you have there it says:
[FormatException:Inputstring was notin a correct format.]
Which comes from the function:
System.Number.StringToNumber
So my guess is that you cannot use the multiple uploaded in the rich text editor, which kind of makes sense as when you upload an image in the Richtext editor usually you will want to position it and then upload another, why would you need to upload multiple images in the editor?
Multiple File Upload breaks the "Insert picture -> Create new" in the rich text editor
The "Multiple File Upload" works fine after applying the quickfix. There's only one thing bugging me: the "Insert picture -> Create new" in the rich text editor functionality breaks after trying to upload from there. I get the following error:
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:
I use Umbraco 4.0.2.1 on .Net 3.5.
Any ideas?
Hi Rick,
I have not used the control but I assume it returns a comma seperated list of Node ID's in a string. Looking at the error message you have there it says:
Which comes from the function:
So my guess is that you cannot use the multiple uploaded in the rich text editor, which kind of makes sense as when you upload an image in the Richtext editor usually you will want to position it and then upload another, why would you need to upload multiple images in the editor?
Cheers,
Chris
Hi Rick
The multiplefileuploload, although great, has a bug in that it breaks normal image uploading. Read here for a fix -> http://our.umbraco.org/forum/using/ui-questions/5070-Uploading-images-in-RTE-throw-error.
Cheers,
Dan
And without the broken link --- http://our.umbraco.org/forum/using/ui-questions/5070-Uploading-images-in-RTE-throw-error
is working on a reply...