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

Custom fields import update over-ride #14914

Open
2 tasks done
jayavman opened this issue Jun 20, 2024 · 0 comments
Open
2 tasks done

Custom fields import update over-ride #14914

jayavman opened this issue Jun 20, 2024 · 0 comments
Assignees

Comments

@jayavman
Copy link

jayavman commented Jun 20, 2024

Debug mode

Describe the bug

I have noticed that if you change a custom field, and current assets are using the old format. if you do an import to that new custom field value. It will look at the old value, realize its incorrect and not let you update the new custom field value as of today.

Reproduction steps

Example :

Old custom field ;

Radio Button custom field ;

what is the condition rating

  • 1
  • 2
  • 3
  • 4

You then go to an asset and select "3" as the conditon rating.

I then go back into the Custom field and decide to change the format to now ;

  • Low
  • medium
    -high
    -extra high

I then go into my spreadsheet, and update all the conditions to the new format ;

  • Low
  • medium
    -high
    -extra high

but still using the same "condition rating custom field" once i import that csv
it would come up with : _snipeit_site_building_name_3: snipeit condition rating 3 is invalid on all the assets which had the previous version of the rating.

Expected behavior

It should ignore what the previous condition was and format and just overwriting it with the new condition (as per the current format in the radio button on custom field)

Screenshots

No response

Snipe-IT Version

v7.0.4 build 14011 (g20d558785)

Operating System

almalinux

Web Server

apache

PHP Version

8.1.29

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants