Skip to Content
0
May 06, 2020 at 08:12 AM

Is it possible to change field name of enumtype after it created already?

107 Views Last edit May 06, 2020 at 10:31 AM 3 rev

Hi experts.

I got an error "Caused by: java.lang.IllegalArgumentException: No enum constant blabla~~~" this morning.

Not too long ago, one of my colleague added several fileds to enumType and changed the name of one of them.

The old field name was 'webconsumer' and changed name is 'social'.

So I investigated enumerationvalues db table, I found that old value 'webconsumer' is stil remaining.

If I delete the row(webconsumer) in enumerationvalues directly then problem can be solve?

In hybris, Is it possible to change field name of enumtype after it created already?