I am unable to edit or add Member Types in Umbraco 7.3.1.
There is no error message or saved message when editing in Umbraco.
I used the SQL Server Profiler to check if anything goes wrong inserting/updating certain fields and noticed that there is an error:
The INSERT statement conflicted with the FOREIGN KEY constraint
"FKcmsPropertyTypecmsDataTypenodeId". The conflict occurred in
database "Mydatabase", table "dbo.cmsDataType", column 'nodeId'.
The insert query that I think is creating the error is:
I noticed that two fields were missing when comparing this database with another database with the same Umbraco version.
What happened in the other Umbraco website is: when I saved the Member Type 'Member'. Two new Generic Properties were added.
Password Answer and Password Question.
I hope that someone can help me with this issue.
Thanks!
I checked the database again and compared it to another database that doesn't have this problem and noticed that there was a duplicate and a missing propertyEditorAlias in the table 'cmsDataType'. The duplicate propertyEditorAlias was Umbraco.Textbox and the missing propertyEditorAlias was umbraco.NoEdit.
I edited the duplicate property with the nodeId -92(wich is the 'Umbraco.NoEdit' property in my other Umbraco database) and changed Umbraco.Textbox to umbraco.NoEdit.
After making this change in the database, I decided to save the memberType again and noticed that I got a message that the member type was saved and the two new Generic Properties were added. Password Answer and Password Question.
Can't edit or add Member Types
I am unable to edit or add Member Types in Umbraco 7.3.1.
There is no error message or saved message when editing in Umbraco.
I used the SQL Server Profiler to check if anything goes wrong inserting/updating certain fields and noticed that there is an error:
The insert query that I think is creating the error is:
I found a few other forum post with a comparable situation:
Some extra information:
I noticed that two fields were missing when comparing this database with another database with the same Umbraco version. What happened in the other Umbraco website is: when I saved the Member Type 'Member'. Two new Generic Properties were added. Password Answer and Password Question.
I hope that someone can help me with this issue. Thanks!
Michel Collard.
Update on my first post.
I checked the database again and compared it to another database that doesn't have this problem and noticed that there was a duplicate and a missing propertyEditorAlias in the table 'cmsDataType'. The duplicate propertyEditorAlias was Umbraco.Textbox and the missing propertyEditorAlias was umbraco.NoEdit.
I edited the duplicate property with the nodeId -92(wich is the 'Umbraco.NoEdit' property in my other Umbraco database) and changed Umbraco.Textbox to umbraco.NoEdit.
After making this change in the database, I decided to save the memberType again and noticed that I got a message that the member type was saved and the two new Generic Properties were added. Password Answer and Password Question.
is working on a reply...