on 05-06-2020 9:12 AM
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?
I found the solution.
Other itemType's field referred to an old enum field.
It was a cause of the error.
I updated the field of itemType to new enum value, finally problem was solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.