I have the same issue - it only seems to save properly when hitting Save and not Save & publish. It might be related to an issue with the core on versions. But until a fix is included in the package, editors NEED to save or they'll risk losing their data.
On Umb 6.0.5 uComponents 5.5 I get this error:
1. Fill in data in datatypegrid on node
2. **Save and publish**
3. Check data is still there by switching to another node and back in backoffice
4. restart the app pool
5. Data is now gone in backoffice, but remains in umbraco.config untill I republish. Looking at rollback versions the latest is not there either.
To avoid losing data:
1. Fill in data in datatypegrid on node
2. **Save**
3. Check data is still there by switching to another node and back in backoffice
4. restart the app pool
5. Data is still there
The log file (look at NodeId: 1252) - in case 1:
2013-08-07 15:05:04,488 [8] INFO umbraco.BusinessLogic.Log - [Thread 34] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Custom | User: 0 | NodeId: 1252 | Comment: DTG: Retrieved the following data from database: <items><item id="1" sortOrder="1"><image nodeName="image" nodeType="1035">1119</image><caption nodeName="caption" nodeType="-89">En elelfant kom marcherende...?</caption><captionTeacher nodeName="captionTeacher" nodeType="-89">En elefant kom marcherende...</captionTeacher><sound nodeName="sound" nodeType="1035">1210</sound></item><item id="2" sortOrder="2"><image nodeName="image" nodeType="1035">1117</image><caption nodeName="caption" nodeType="-89">Manden kører med vand i byen</caption><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035">1209</sound></item><item id="3" sortOrder="3"><image nodeName="image" nodeType="1035">1141</image><caption nodeName="caption" nodeType="-89">I byen kan man købe mad fra dem der har en madbod</caption><captionTeacher nodeName="captionTeacher" nodeType="-89">I byen kan man købe mad fra madboderne</captionTeacher><sound nodeName="sound" nodeType="1035">1208</sound></item><item id="4" sortOrder="5"><image nodeName="image" nodeType="1035">1202</image><caption nodeName="caption" nodeType="-89">Alle har et lille alter</caption><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035">1210</sound></item><item id="6" sortOrder="4"><image nodeName="image" nodeType="1035">1130</image><caption nodeName="caption" nodeType="-89">De har solcreme på, som de bruger til at pynte sig med</caption><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035">1207</sound></item></items>
2013-08-07 15:05:21,691 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 16 (took 245ms)
2013-08-07 15:05:21,711 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of Umbraco.Core.Models.IMacroPropertyType, found 0 (took 5ms)
2013-08-07 15:05:21,717 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter, found 0 (took 5ms)
2013-08-07 15:05:21,723 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of Umbraco.Web.Mvc.SurfaceController, found 0 (took 5ms)
2013-08-07 15:05:21,734 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of Umbraco.Core.Media.IThumbnailProvider, found 3 (took 5ms)
2013-08-07 15:05:21,740 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 1 (took 6ms)
2013-08-07 15:05:22,051 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of umbraco.interfaces.IApplication, found 7 (took 8ms)
2013-08-07 15:05:22,105 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of umbraco.interfaces.ITree, found 27 (took 6ms)
2013-08-07 15:05:22,137 [11] INFO umbraco.BusinessLogic.Log - [Thread 8] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Custom | User: 0 | NodeId: -1 | Comment: [UmbracoExamine] Adding examine event handlers for index providers: 3
2013-08-07 15:05:38,088 [11] INFO Umbraco.Core.PluginManager - [Thread 8] Completed resolution of types of umbraco.interfaces.IDataType, found 77 (took 8ms)
2013-08-07 15:05:38,102 [11] INFO Umbraco.Core.PluginManager - [Thread 8] Completed resolution of types of umbraco.interfaces.ITree, found 38 (took 5ms)
2013-08-07 15:05:38,367 [11] INFO umbraco.content - [Thread 8] Loading content from disk cache...
Datagrid in umbraco 6.0.1 wont keep the data.
Hi there,
Data grid will not keep the data I inseted and when managed to create new row after editing it will show the old data rather than the new one?!
Many thanks
mkariti
Hi mkariti,
Thanks for reporting this. Which version of uComponents are you using?
Cheers, Lee.
Hi Lee,
Im usin the latest one 5.4.
regards,
mkariti
Hi Lee,
Just a quick one to let you know that its spread out to other data types.....
mkariti
I can confirm this bug. It will be fixed in the v6 release of uComponents, which is due later this month.
Ping me on twitter if you need a bleeding edge build.
Hi Lee / Ove,
Do you know when the v6 release of uComponents with this fix in will be ready?
Thanks,
Andy
I have the same issue - it only seems to save properly when hitting Save and not Save & publish. It might be related to an issue with the core on versions. But until a fix is included in the package, editors NEED to save or they'll risk losing their data.
On Umb 6.0.5 uComponents 5.5 I get this error:
1. Fill in data in datatypegrid on node
2. **Save and publish**
3. Check data is still there by switching to another node and back in backoffice
4. restart the app pool
5. Data is now gone in backoffice, but remains in umbraco.config untill I republish. Looking at rollback versions the latest is not there either.
To avoid losing data:
1. Fill in data in datatypegrid on node
2. **Save**
3. Check data is still there by switching to another node and back in backoffice
4. restart the app pool
5. Data is still there
The log file (look at NodeId: 1252) - in case 1:
2013-08-07 15:05:04,488 [8] INFO umbraco.BusinessLogic.Log - [Thread 34] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Custom | User: 0 | NodeId: 1252 | Comment: DTG: Retrieved the following data from database: <items><item id="1" sortOrder="1"><image nodeName="image" nodeType="1035">1119</image><caption nodeName="caption" nodeType="-89">En elelfant kom marcherende...?</caption><captionTeacher nodeName="captionTeacher" nodeType="-89">En elefant kom marcherende...</captionTeacher><sound nodeName="sound" nodeType="1035">1210</sound></item><item id="2" sortOrder="2"><image nodeName="image" nodeType="1035">1117</image><caption nodeName="caption" nodeType="-89">Manden kører med vand i byen</caption><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035">1209</sound></item><item id="3" sortOrder="3"><image nodeName="image" nodeType="1035">1141</image><caption nodeName="caption" nodeType="-89">I byen kan man købe mad fra dem der har en madbod</caption><captionTeacher nodeName="captionTeacher" nodeType="-89">I byen kan man købe mad fra madboderne</captionTeacher><sound nodeName="sound" nodeType="1035">1208</sound></item><item id="4" sortOrder="5"><image nodeName="image" nodeType="1035">1202</image><caption nodeName="caption" nodeType="-89">Alle har et lille alter</caption><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035">1210</sound></item><item id="6" sortOrder="4"><image nodeName="image" nodeType="1035">1130</image><caption nodeName="caption" nodeType="-89">De har solcreme på, som de bruger til at pynte sig med</caption><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035">1207</sound></item></items>
2013-08-07 15:05:21,411 [11] INFO Umbraco.Core.CoreBootManager - [Thread 4] Umbraco application starting
2013-08-07 15:05:21,430 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Determining hash of code files on disk
2013-08-07 15:05:21,437 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Hash determined (took 6ms)
2013-08-07 15:05:21,691 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 16 (took 245ms)
2013-08-07 15:05:21,711 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of Umbraco.Core.Models.IMacroPropertyType, found 0 (took 5ms)
2013-08-07 15:05:21,717 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter, found 0 (took 5ms)
2013-08-07 15:05:21,723 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of Umbraco.Web.Mvc.SurfaceController, found 0 (took 5ms)
2013-08-07 15:05:21,734 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of Umbraco.Core.Media.IThumbnailProvider, found 3 (took 5ms)
2013-08-07 15:05:21,740 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 1 (took 6ms)
2013-08-07 15:05:21,816 [11] INFO Umbraco.Core.CoreBootManager - [Thread 4] Umbraco application startup complete (took 401ms)
2013-08-07 15:05:22,051 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of umbraco.interfaces.IApplication, found 7 (took 8ms)
2013-08-07 15:05:22,105 [11] INFO Umbraco.Core.PluginManager - [Thread 4] Completed resolution of types of umbraco.interfaces.ITree, found 27 (took 6ms)
2013-08-07 15:05:22,137 [11] INFO umbraco.BusinessLogic.Log - [Thread 8] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Custom | User: 0 | NodeId: -1 | Comment: [UmbracoExamine] Adding examine event handlers for index providers: 3
2013-08-07 15:05:38,088 [11] INFO Umbraco.Core.PluginManager - [Thread 8] Completed resolution of types of umbraco.interfaces.IDataType, found 77 (took 8ms)
2013-08-07 15:05:38,102 [11] INFO Umbraco.Core.PluginManager - [Thread 8] Completed resolution of types of umbraco.interfaces.ITree, found 38 (took 5ms)
2013-08-07 15:05:38,367 [11] INFO umbraco.content - [Thread 8] Loading content from disk cache...
2013-08-07 15:05:38,412 [11] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Custom | User: 0 | NodeId: 1253 | Comment: DTG: Retrieved the following data from database: <items><item id="1" sortOrder="0"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="2" sortOrder="1"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="3" sortOrder="2"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="4" sortOrder="3"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="5" sortOrder="4"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item></items>
2013-08-07 15:05:38,421 [11] INFO umbraco.BusinessLogic.Log - [Thread 10] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Custom | User: 0 | NodeId: 1253 | Comment: DTG: Returned value from ViewState: <items><item id="1" sortOrder="0"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="2" sortOrder="1"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="3" sortOrder="2"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="4" sortOrder="3"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="5" sortOrder="4"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item></items>
2013-08-07 15:05:38,426 [11] INFO umbraco.BusinessLogic.Log - [Thread 7] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Custom | User: 0 | NodeId: 1253 | Comment: DTG: ViewState did not contain data.
2013-08-07 15:05:38,432 [11] INFO umbraco.BusinessLogic.Log - [Thread 18] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Custom | User: 0 | NodeId: 1253 | Comment: DTG: Returned value from ViewState: <items><item id="1" sortOrder="0"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="2" sortOrder="1"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="3" sortOrder="2"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="4" sortOrder="3"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="5" sortOrder="4"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item></items>
2013-08-07 15:05:40,863 [11] INFO umbraco.BusinessLogic.Log - [Thread 10] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Custom | User: 0 | NodeId: 1252 | Comment: DTG: Retrieved the following data from database: <items><item id="1" sortOrder="0"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="2" sortOrder="1"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="3" sortOrder="2"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="4" sortOrder="3"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item><item id="5" sortOrder="4"><image nodeName="image" nodeType="1035"/><caption nodeName="caption" nodeType="-89"/><captionTeacher nodeName="captionTeacher" nodeType="-89"/><sound nodeName="sound" nodeType="1035" /></item></items>
2013-08-07 15:05:40,871 [11] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Custom | User: 0 | NodeId: 1252 | Comment: DTG: ViewState did not contain data.
v6 is out very soon, I promise. :-)
In the meantime, try the latest build: https://www.myget.org/feed/ucomponents/package/uComponents
I will look into making an interim 5.5.1 release that solves your problem as well.
is working on a reply...