Details
-
Bug
-
Resolution: Fixed
-
High
-
4.7.0-dev
-
None
Description
Hi
As title says, enumand related objects are not synced to target server
when syncing you'll get this in ezdebug regarding related objects:
Notice: PHP: E_NOTICE Apr 18 2012 09:35:11 Undefined index: relationList in /var/www/ezp/.run/extension/ezcontentstaging/classes/models/field.php on line 220 Warning: PHP: E_WARNING Apr 18 2012 09:35:11 Invalid argument supplied for foreach() in /var/www/ezp/.run/extension/ezcontentstaging/classes/models/field.php on line 222
no warnings regarding enum, but the enum value is simply not synced to target
Steps to reproduce
#1 create a class with enum and objectrelations ( not object relation) on both source and target server
#2 create a object with this new class
#3 create two articles
#4 edit object created in #1 and releate the two articles to it using the object relations attribute
#5 sync the content
#6 verify on target server that enum and objectreleations data are intact
Step #5 results in some warnings in ezdebug
#6 fails