You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kallestenflo I just hit this issue as well when trying to upgrade from v2.6.0 to v2.7.0+ (v2.9.0, to be specific). Based on how JsonPath.handleMissingPathInContext() was implemented, it can cause a different type to be returned by JsonPath.put(), which then causes a ClassCastException in JsonContext.put(). Based on that, I don't see how I can restore the behavior I had in v2.6.0 no matter which Options I enable.
I think that the changes in #871 would fix this for me if you could merge that. If not, but there was a way to make a v2.6.1 with the vulnerability fix in v2.9.0, that would be great.
Edit: If I were to cherry-pick the commit(s) from #985 and create a PR against the 2.6.0 tag/branch, would that be helpful?
In addition to #840 the following code works fine (no errors) on 2.6.0 but throws an exception on 2.7.0:
The text was updated successfully, but these errors were encountered: