Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-11827

Invalid entry in ezcontentobject_name table after fresh install due to non-existing version

    XMLWordPrintable

Details

    Description

      Execute the following SQL and you will see it:

      SELECT * FROM ezcontentobject_name e where NOT EXISTS ( select * from ezcontentobject_version v where v.contentobject_id=e.contentobject_id and v.version = e.content_version );
      

      SQL to remove:

      DELETE FROM ezcontentobject_name e WHERE NOT EXISTS (SELECT * FROM ezcontentobject_version v WHERE v.contentobject_id=e.contentobject_id AND v.version = e.content_version);
      

      Attachments

        Activity

          People

            dl dl
            cyberwolf cyberwolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: