Skip to Content
0
Former Member
Aug 31, 2017 at 11:12 AM

Modification of the table name on hybris data types fails

622 Views

We are currently on Hybris 6.0.3.5.

We have noticed something very strange on our environments since late April this year. We get log messages on the info level in our logs saying that tables of the Hybris Data types: CollectionTypes, MapTypes, EnumerationTypes, and AtomicTypes cannot be renamed. We are backed by a MSSQL server.

Currently we get one new table for each of these types every time we update the type system.

For example: Modification of the table name of deployment de.hybris.platform.persistence.enumeration.EnumerationValue from enumerationvalues to EnumerationValues won't be performed, be aware that the old deployment will be still used (even it is not reflected in the code base)

...

Modification of the table name of deployment de.hybris.platform.persistence.enumeration.EnumerationValue from enumerationvalues0 to EnumerationValues won't be performed, be aware that the old deployment will be still used (even it is not reflected in the code base)

Modification of the table name of deployment de.hybris.platform.persistence.enumeration.EnumerationValue from enumerationvalues1 to EnumerationValues won't be performed, be aware that the old deployment will be still used (even it is not reflected in the code base)

and so on. We don't know what caused this and wonder if it is so that Hybris changed the names of the tables from enumerationvalues to EnumerationValues which is what is causing this?

Currently we get another more serious problem as a result of this. The patches we supply with impex in a PatchSetup class are run in the old type system version of for example enumerationvalues and then when it updates it creates a new table named enumerationvaluesX where the patch update is not present giving us an inconsistent state with the patches.

We could temporarily solve this by doing a type system update before we run the patches to be sure that the patches are run in the correct version of the enumerationvalues tables but we don't really want to have this increment of these tables because it is currently endless. It's just these tables: Hybris Data types: CollectionTypes, MapTypes, EnumerationTypes, and AtomicTypes.

Also, we use rolling updates: https://help.hybris.com/6.4.0/hcd/8c455268866910149b25f7b53d1af3e1.html

Do you have any idea what is going on or suggestion?