We have moved to GitHub Issues
Created by Paul Sterling 03 Aug 2015, 19:50:09 Updated by Shannon Deminick 24 Aug 2015, 16:15:26
Dictionary items organized in a "tree" structure with hierarchy are not preserved - the structure is flattened on deployment.
In 7.2.8, the hierarchy is not preserved but no errors are thrown, however in 7.3 it is not possible to send over a dictionary item + children as an exception occurs because it's trying to insert the child before the parent:
nnerException: HResult=-2146232832 Message=could not update: [Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.CmsDictionary#1][SQL: UPDATE cmsDictionary SET id = ?, "key" = ?, parent = ? WHERE pk = ?] Source=NHibernate SqlString=UPDATE cmsDictionary SET id = ?, "key" = ?, parent = ? WHERE pk = ? StackTrace:
ErrorCode=-2147467259 HResult (System.Exception)=-2147467259 HResult=-2147217873 Message=A foreign key value cannot be inserted because a corresponding primary key value does not exist. [ Foreign key constraint name = FK_cmsDictionary_cmsDictionary_id ] NativeError=25026 Source=SQL Server Compact ADO.NET Data Provider
I've fixed these, just need to test with 7.2.8 now
Yup works there too so all good.
Assignee: Shannon Deminick
Backwards Compatible: True
Due in version: 2.51.0