cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Invalid characters in attachment file is crashing Forms and Workflow

I have Nintex Forms 2013 (v.2.8.1.0) with Nintex Workflow 2013 (v.3.1.6.0)

I made a Nintex Form with an attachment control that fires a Nintex Workflow after submit.

If the user loads a file with an unsupported name (~ # % & * { } \ : < > ? / + |), the control loads it. But the user is not able to delete it. Clicking on "Delete" button is doing nothing, and the user is not able to replace the file by another one.

It blocks completelly the Workflow, due to after submit SharePoint show up an error message:

And Workflow doesn't start, even if the workflow is set to start when a new ítem is created. the ítem is created, but the workflows doesn't start.

It is a really big issue, crashing the whole solution.

Please, can you fix it?

Kind regards,

Labels: (2)
0 Kudos
Reply
13 Replies
Workflow Hero

Re: Invalid characters in attachment file is crashing Forms and Workflow

I suggest you to send your case to Support

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Invalid characters in attachment file is crashing Forms and Workflow

Have you seen that? >>> illegal characters in attachment name ?

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Invalid characters in attachment file is crashing Forms and Workflow

Hi Fernando,

Yes, I saw it, thank you! But the thread ends with some kind of fórum about if this is a Nintex bug or not, and no clear answer about how to fix it.

For my it's clear this is a bug. It crashes the form and the Workflow never starts... I have a customer complaining about it, and there's no easy solution, only custom Javascrip? If we need to solve all Nintex issues by JavaScript, then is really Nintex Forms usefull (more code than form parametrization has no sense for me).

Kind regards.

Accept as Solution Reply
Workflow Hero

Re: Invalid characters in attachment file is crashing Forms and Workflow

I did it, thank you! But they seems to "not be able to reproduce it"...

:-(

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Invalid characters in attachment file is crashing Forms and Workflow

Did you ever find a fix for this? I have a similar issue where items that have these attachments do not start the workflow.  Just wondering if you tried writing a validation rule in the form?

0 Kudos
Accept as Solution Reply
Not applicable

Re: Invalid characters in attachment file is crashing Forms and Workflow

I'm actually more curious about who is loading a file like that, Unix/Linux may allow that, but as far as I know those aren't valid characters for a Windows machine and I would almost have to question the validity of the file at all.

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Invalid characters in attachment file is crashing Forms and Workflow

Same for me with a simple quote (') in filename : upload OK but no way to delete the attachement after upload.

Support answer : this will be included in a future release.

Accept as Solution Reply
Workflow Hero

Re: Invalid characters in attachment file is crashing Forms and Workflow

Invalid characters will result in error, it will result in the error you displayed in the post above.   The current work around is to use JavaScript to prevent invalid characters being entered into the attachment field.  If you search around the forum you'll find other posts surrounding how to implement this.

Thanks!

Mike

Accept as Solution Reply
Workflow Hero

Re: Invalid characters in attachment file is crashing Forms and Workflow

I tried to open a support case, but the answer was that there were unable to reproduce the case.

After some mails trying to explain them that it was really simple to reproduce it, I gave up with support guys and I did my own solution with JavaScript (once again).

I really hope they will realize that this is a bug and future versions doesn't allow to upload files with wrong characters.

Best regards,

0 Kudos
Accept as Solution Reply