Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
-
Operating System: Debian 6
PHP Version: 5.3.10
Database and version: MySQL 5.1.55
Browser (and version): Chrome 19
Description
I cannot sync the event for restoring an object from trash. i got the following error message:
Object 106 to be synchronised to feed live: failure (HTTP error 400 (Bad Request)) [Event 22]
And the error.log on the live server says:
[ Jun 05 2012 12:13:08 ] [10.1.1.61] eZMySQLiDB:
Query error (1062): Duplicate entry '70cb495d93f63cdf7dd5f63455c64c72' for key 'ezcontentobject_remote_id'. Query: UPDATE ezcontentobject SET section_id=0, owner_id=14, contentclass_id=16, name='Neue/er/es ',
published=0, modified=0, current_version=1, status=0,
remote_id='70cb495d93f63cdf7dd5f63455c64c72', language_mask=2, initial_language_id=2 WHERE id='151'
[ Jun 05 2012 12:13:08 ] [10.1.1.61] eZDBInterface::commit TRANSID-a1202b71b550c3676821eb24543842e9:
Transaction in progress failed due to DB error, transaction was rollbacked. Transaction ID is TRANSID-a1202b71b550c3676821eb24543842e9.
Steps to reproduce
1. Install Community Project v.2012.05 with ezdemo extension and content on a stage and live server
2. Install eZ Content Staging Extension
3. Create a folder "sync" under Home on stage and live server as sync feed root
4. Config eZ Content Staging Extension with "sync" Folder as Feed
5. Create an article under the "sync" folder on the stage server
6. Synchronize the feed: the article should now be available on the live server
7. Remove the article on the stage server to the trash
8. Synchronize the feed: the article should now in the trash on the live server too
9. Restore the article on the stage server from the trash
8. Synchronize the feed: you will get the error messages from above
Attachments
Issue Links
- is duplicated by
-
EZP-20411 Object Restore from trash does not work with the content staging
- Closed