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

ignore path not found exception on json.path.put to retain compatability #4280

Merged
merged 3 commits into from
Sep 22, 2023

Conversation

cwisniew
Copy link
Member

@cwisniew cwisniew commented Sep 6, 2023

Identify the Bug or Feature request

Fixes #4123

Description of the Change

The upgrade of json path library introduced an incompatibility for json path put, previously a put with a path that didn't exist ignored the put silently, now it throws an exception. This change captures the exception and returns the original object to preserve MTScript compatibility

Possible Drawbacks

Should be none

Documentation Notes

Fix json path put issue introduced by library upgrade.


This change is Reviewable

@cwisniew cwisniew added the bug label Sep 6, 2023
@cwisniew cwisniew enabled auto-merge September 22, 2023 14:05
@cwisniew cwisniew added this pull request to the merge queue Sep 22, 2023
Merged via the queue into RPTools:develop with commit 42e3612 Sep 22, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

[Bug]: json.path.put fails if there are no results
1 participant