Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Staging Synchronization View modes: 
User avatar
Certified Developer 8
Certified Developer 8
richard - 3/4/2012 6:45:36 PM
   
Staging Synchronization
We are getting the following error when Synchronizing content between staging and live.

Synchronization server error: Exception occurred: The value for field 'MenuItemTeaserImage' is missing. You need to initialize the field before executing this operation.

Has anyone had this issue? Is it a bug?

Cheers

Richard

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 3/5/2012 1:25:54 AM
   
RE:Staging Synchronization
Hi,

could you please check that MenuItemTeaserImage column/field exists on both, development an live server in definition particular document type (Site Manager - Development - Document types -<your document type> - Fields)?

In case the field is defined correctly, could you please check if it allows null value on both servers.

In case it does not, does the synchronized document contains the teaser image?

Best regards,
Ivana Tomanickova

User avatar
Certified Developer 8
Certified Developer 8
richard - 3/5/2012 2:41:33 AM
   
RE:Staging Synchronization
Hi Ivana

Both the document types for that document (Menu Item) are identical on both servers.

It does not happen on all documents, just some, do you think the live and staging servers have gotten out of sync somehow and it is attempting to sync to a different document? (I am not really sure how the internals of this actually work).

I am not quite sure how to debug the issue really.

Cheers

Richard

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 3/5/2012 5:05:53 AM
   
RE:Staging Synchronization
Hi,

could you please check directly in the database whether that field is present in the document type coupled data table (in this case it is the CONTENT_MenuItem table)?

Also, could you please go to Site Manager -> Development -> Document types -> edit your type -> Fields tab and just click OK button so the XML schema and form definition are refreshed?

Have you modified page menu item document type? Added custom fields or set inheritance? Unfortunately, there was a bug fixed in the hotfix 6.0.8 when similar issue appears in case document type inherited from some other document type.

It does not happen on all documents

Do you mean that some page menu item documents with teaser image are synchronized and some of them are not?

Best regards,
Ivana Tomanickova