Opened 8 years ago

Closed 8 years ago

Last modified 7 years 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 by Even Rouault, 8 years ago

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 by Even Rouault, 7 years ago

In 37459:

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

comment:3 by Even Rouault, 7 years ago

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

Note: See TracTickets for help on using tickets.