Upgrade to 5.8
Permalink 1 user found helpful
Hello,
I'm having dificulty upgrading to the 5.8 version of concrete.
I got this error
Doctrine \ ORM \ Internal \ Hydration \ HydrationException
The DQL alias 'r' contains an entity of an inheritance hierarchy with an empty discriminator value. This means that the database contains inconsistent data with an empty discriminator value in a table row.
Any sugestions?
I'm having dificulty upgrading to the 5.8 version of concrete.
I got this error
Doctrine \ ORM \ Internal \ Hydration \ HydrationException
The DQL alias 'r' contains an entity of an inheritance hierarchy with an empty discriminator value. This means that the database contains inconsistent data with an empty discriminator value in a table row.
Any sugestions?
Thanks for response.
I managed to upgrade when I update AttributeKeys table with akCategory field and updating each row with predefinded value like userkey, pagekey etc. Also needed to add search_file_folder entry int the PermissionKeys table.
Will try your method as well. Thank you very much.
I managed to upgrade when I update AttributeKeys table with akCategory field and updating each row with predefinded value like userkey, pagekey etc. Also needed to add search_file_folder entry int the PermissionKeys table.
Will try your method as well. Thank you very much.
what means updating attributekeys? NULL?
I have not encountered this.
what do you mean?
In case you ran the update previously and it failed, do the following:
- Revert the database to what it was prior to the update
- Revert the /application/config/doctrine/proxies folder to what it was prior to the update
After this, the update ran correctly at least in our case and the exception was gone.
Hopefully this helps!