Bug 2049601
Summary: | jq try/catch stops iteration over items | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Tomas Halman <thalman> |
Component: | jq | Assignee: | Tomas Halman <thalman> |
Status: | CLOSED ERRATA | QA Contact: | Scott Poore <spoore> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.6 | CC: | aboscatt, bhills, david, extras-qa, karlthered, lhh, spoore, thalman, wil.rh |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | jq-1.6-4.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 2017285 | Environment: | |
Last Closed: | 2023-05-16 08:27:08 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2017285 | ||
Bug Blocks: | 2049594 |
Description
Tomas Halman
2022-02-02 12:33:32 UTC
Patch has been accepted (https://github.com/stedolan/jq/pull/2400). Verified Version :: jq-1.6-5.el8.x86_64 Results :: # jq '.[]| tonumber? ' <<< '["1", "2", "a", "3"]' 1 2 3 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (jq bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2778 |