This project is read-only.

Field values null out when DefaultContentManger.Create() is invoked

Topics: General
Oct 17, 2012 at 7:38 AM

I'm creating a vanilla content item programmatically and everything seems to work as it should except for the field values.  For some reason, after the contentManager.Create() method is called, my content item is created and persisted (great), but w/ null field values (not so great).

Using a dynamic type, I set the field values: eg.  dynamicType.MyContentItem.MyField.Value = "...."; 

When I trace through the code, the field values persist until the DefaultContentManger.Create() method tries to set the contentItem.VersionRecord property (line 451).  The rest of my contentItem's parts remain intact, so I'm not sure why the fields are affected. 




Oct 19, 2012 at 1:51 PM

did u use newest 1.x version? if yes, report it as a bug right now, because 1.6 will come sooner