Opened 18 months ago

Closed 18 months ago

Last modified 4 months ago

#6283 closed defect (fixed)

OGRLayer::SetIgnoredFields() doesn't properly reset in case of multiple geometry fields

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.11.4
Component: OGR_SF Version: 1.11.0
Severity: normal Keywords:
Cc:

Description

If calling first SetIgnoredFields?(["second_geometry_field"), and then SetIgnoredFields?(first_geometry_field?), second_geometry_field will remain ignored due to improper reset.

Change History (3)

comment:1 Changed 18 months ago by Even Rouault

Milestone: 1.11.4
Resolution: fixed
Status: newclosed
Version: unspecified1.11.0

trunk r32451, branches/2.0 r32452, branches/1.11 r32453 "OGRLayer::SetIgnoredFields?(): properly reset state of non first geometry fields (#6283)"

comment:2 Changed 4 months ago by Even Rouault

In 37459:

JP2KAK: fix leaks in open error code paths (fixes #6283)

comment:3 Changed 4 months ago by Even Rouault

Disregard above comment: the referenced issue should have been #6823

Note: See TracTickets for help on using tickets.