connect-sdk-python
connect-sdk-python copied to clipboard
Updating an item field replaces that field type with text
Your environment
SDK Version: 1.3.0
Connect Server Version:1.6.1
OS: Windows, Mac
Python Version: 3.10.10
What happened?
Updating an item field with purpose throw error while removing purpose will change the field type.
Update an item password like this:
Field(
id='password',
label='password',
purpose='PASSWORD',
value='my password'),
will receive this error:
Logic: (Unable to parse Item), Validation: (too many "password" fields in Apply()), You can only use one "password" field.
Update an item without purpose will not throw an error but will change password type from password to text.
What did you expect to happen?
Updating an item with purpose should work and not throw error.
Steps to reproduce
https://user-images.githubusercontent.com/49488467/226744696-4b6ca2ea-f61a-4534-8ea5-0dcc5b3c7e8e.mp4
Hi @Nhat-agilbits👋 Thank you for reaching out! We are going to plan to work on that issue and try to fix it as soon as possible.