Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating an item field replaces that field type with text #71

Open
Nhat-agilbits opened this issue Mar 21, 2023 · 1 comment
Open

Updating an item field replaces that field type with text #71

Nhat-agilbits opened this issue Mar 21, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Nhat-agilbits
Copy link

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

Code_drvCaVvyhM.mp4
@Nhat-agilbits Nhat-agilbits added the bug Something isn't working label Mar 21, 2023
@Nhat-agilbits Nhat-agilbits changed the title Update item replaces standard field with text Updating items replace field type with text Mar 21, 2023
@Nhat-agilbits Nhat-agilbits changed the title Updating items replace field type with text Updating an item field replaces that field type with text Mar 21, 2023
@volodymyrZotov
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants