-
Notifications
You must be signed in to change notification settings - Fork 0
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
duplicate form exception #425
Comments
If the forms are stored in the database, this might be related to #402. |
ah, we're not storing forms in database in this project though it looks as though there might be validation to prevent forms of the same name being created, but this must be being bypassed when the form is copied and renamed, as in the steps to reproduce supplied |
In looking to resolve this today, I couldn't replicate - so seems it has been resolved at some point since the issue was raised. I've tested with forms configured for storage on disk and in the database, and in both cases if I copy a form and enter the name of the current or another existing form, the name is suffixed with " (1)" or similar to ensure form names are unique. I'll close tag as part of the latest release though was likely fixed in an earlier version. |
server error when saving a form that has a duplicate name
Message: "An error has occurred."
StackTrace: " at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable
1 source, Func
2 predicate)↵ at Umbraco.Forms.Web.Editors.FormController.FormExist(String formName)
↵ at Umbraco.Forms.Web.Editors.FormController.SaveForm(FormDesign formData)
Specifics
Umbraco forms version 8.5.3
Steps to reproduce
Expected result
form gets saved OR should be unable to save form on step 3 on duplicate name
Actual result
server error on form save
This item has been added to our backlog AB#9084
The text was updated successfully, but these errors were encountered: