Forums / Developer / pbm with current version in database

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

pbm with current version in database

Author Message

Seb Gaillard

Thursday 10 December 2009 2:01:42 am

Hi,

I have some trouble with an object. A subtree has disapeared in the ez back and front end but it's still enable in the database. After some investigation, I have noticed that, in ezcontentobject_tree, the contentobject_version = 9 and, for the same object_id, in ezcontentobject, the currentversion = 8.

In addition to that, when I look at the ezcontentobject_version:
- for version = 8, status = 3
- for version = 9, status = 1

I think is not a good idea to change the value directly in the database, as someone an other solution?

Seb Gaillard

Thursday 10 December 2009 2:11:17 am

Hi, I have tried this:

in ezcontentobject_tree, I have switched the contentobject_version for 8 (in place of 9), and in ezcontentobject_version, I have delete the line of version 9. It seems to work now but I don't know if it can make some other troubles!