I've found that this only applies to forms that contain a field with conditionals. Also, if a field contains a conditional and you delete the field the form will not save. Nor can you delete the form.
Having the same issue using the same version of Umbraco as you did, but haven't found a solution for it. Maybe this has something to do with the version of Umbraco?
I have this problem as well on 3.0.17 and 3.0.10 (this is looked after by a different team but thats the reported version).
There is a foreign key constraint error when trying to delete a field, see below for error:
Error executing query DELETE from UFfields where id = @id
System.Data.SqlClient.SqlException (0x80131904): The DELETE statement conflicted with the REFERENCE constraint "FK_UFFieldConditionRules_UFFields". The conflict occurred in database "####", table "dbo.UFFieldConditionRules", column 'Field'.
Can't Delete Forms 3.0.16
We're not able to delete any Contour forms. The JS console shows a 500 error:
Any ideas?
I've found that this only applies to forms that contain a field with conditionals. Also, if a field contains a conditional and you delete the field the form will not save. Nor can you delete the form.
Having the same issue using the same version of Umbraco as you did, but haven't found a solution for it. Maybe this has something to do with the version of Umbraco?
Is there any chance that you guys could update Contour?
If I remember correctly there ufortunately was a bug with deleting forms in 3.0.16, which was resolved in 3.0.17+
I'm pretty sure it has nothing to do with the Umbraco version.
Cheers,
Jan
Comment author was deleted
Yeah upgrade to latest and if it still happens then it's a bug :)
Still happening in 3.0.17. Seems to only happen on forms that contain conditionals. I had submitted a ticket - http://issues.umbraco.org/issue/CON-450
I have this problem as well on 3.0.17 and 3.0.10 (this is looked after by a different team but thats the reported version).
There is a foreign key constraint error when trying to delete a field, see below for error:
Comment author was deleted
Yeah it's the conditions that have to be removed first, looking into it
Comment author was deleted
Fixed in 3.0.19 WIP, should be out somewhere next week
is working on a reply...