Please help, There are values that cannot be converted to 'Integer'. Consider...


Hi

I keep having this error when I publish only:

Upgrade Error
Could not change the type of attribute 'Shift' of entity 'Arrflightdom' from 'Text' to 'Integer'. There are values that cannot be converted to 'Integer'. Consider creating a new attribute and logic to migrate existing values.


It started to appear after I implemented a dropdwon list, please see the pic below:


Please help

Hello Faris,

You have that error because you change the data type of the attribute to Integer and the platform cant convert the records that exists in database with text.

You have 2 options:

1. Create a nwe field with new name

2. Clean the records in database before made the change


Hope it helps,


BR,

Luis