Skip to content

Conversation

@superdav42
Copy link

Somehow (maybe old AS version?) the option value can get set to ''. In this case the code will attempt to insert the option but it will give a duplicate key error. So the lock can never be set until someone manually deletes this option.

With this cade change the option will be updated if it's '' an update will be used instead of an insert.

Somehow (maybe old AS version?) the option value can get set to ''. In this case the code will attempt to insert the option but it will give a duplicate key error. So the lock can never be set until someone manually deletes this option. Now the option will be updated if it's '' so the code can work.
@superdav42 superdav42 changed the title Option lock suck locked with '' Option lock stuck locked with '' Sep 25, 2025
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

Successfully merging this pull request may close these issues.

1 participant