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?

 
Mainio replied on at Permalink Reply
Mainio
We experienced the same issue and it was related to a failed update and trying out the update again after that.

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!
fatnica replied on at Permalink Reply
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.
websonic replied on at Permalink Reply
what means updating attributekeys? NULL?
Tuzpik replied on at Permalink Reply
Tuzpik
I have not encountered this.
websonic replied on at Permalink Reply
what do you mean?