-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save error after validation fail #9341
Comments
Thanks, I just tested this on the upcoming 8.8.2 and 8.9.1 and this is fixed with PR #9215 - we hope to get those releases out early next week, apologies for the inconvenience! |
Hi, I have upgraded Umbraco version to 8.8.2, and the issue still exists. I have also tried upgrade to 8.9.1 and create new projects with those versions. In every variant, I had the same error. @nul800sebastiaan can you reopen the issue? |
Sorry about that @mPieczka it looks like I missed the fact that you were trying to validate the property as an email address, we'll have to look into it. |
This is possibly a duplicate of #8954 |
I have found a workaround for this. Adding event listener to the content saving event (https://our.umbraco.com/documentation/reference/events/ContentService-Events) and cancelling it if an email is incorrect fixes the issue. In this case, a user gets additional information about 3rd party system cancel, but it works. |
@nul800sebastiaan I seem to keep running into this same issue, even after upgrading to Umbraco version 8.11.1. After any kind of validation error has occurred, fixing said error does not allow for the Item to be saved, until the Item has been closed and reopened in Umbraco (and losing all changes made to it). Any idea why this may happen? |
Hi,
I got a validation error. Document type has a text-string field with email validation (maybe with others also it will happen). A user creates this document type node in the content tab. On creating user put bad data on validate field. Umbraco returns validation error for field correctly, but after fix and press the save button again, system return 404 error. Node is saved anyway but with incorrect value (before the fix).
Umbraco version
I see this issue on Umbraco versions: 8.8, 8.8.1 and my colleague updated 8.8 to 8.9, and it still exists.
Reproduction
Bug summary
After validation exception on creating a new node, saving returns 404 exception and saves node with incorrect filed value.
Specifics
I think it happens on all browsers, but I have checked chrome and firefox.
Steps to reproduce
Expected result
If the validation fails, the node isn't created. After the validation fix, I can save the node.
Actual result
After fail validation message node is created but not displayed on the content list. After page refresh, it appears. User can't fix validation issue and save a node.
This item has been added to our backlog AB#9485
The text was updated successfully, but these errors were encountered: