Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
-
7.3.x
-
Committed
-
3
Description
The steps to reproduce are:
- Create a user expando attribute of type Integer (32) called newAtt
- Create a user by the interface without fill the expando attribute newAtt.
- Add a value by JSONWS. You can use a curl as the showed below:
curl http://localhost:8080/api/jsonws/expandovalue/add-value \ -u [email protected]:test \ -d companyId=39733 \ -d className='com.liferay.portal.kernel.model.User' \ -d tableName='CUSTOM_FIELDS' \ -d columnName='newAtt' \ -d classPK=127226 \ -d data='3'
Expected result:
The value is added
Current result:
An error like this is obtained:
Column 127220 has type custom.field.int and is not compatible with type custom.field.java.lang.String