Opened 7 years ago

Closed 7 years ago

#5477 closed defect (fixed)

TestCapabilities on MIF file format broken

Reported by: pmauduit Owned by: warmerdam
Priority: normal Milestone: 1.11.1
Component: OGR_SF Version: unspecified
Severity: normal Keywords: mitab
Cc: Daniel Morissette


For the MIF/MID file format, a TestCapability? call with CreateField? as argument should return TRUE ;

In the same method, a test is also never reached.

The provided patch proposes to:

  1. add the missing test to return TRUE in case of CreateField?
  2. removes the useless test

Attachments (1)

miffile_testcapability_fix.patch (708 bytes) - added by pmauduit 7 years ago.
patch against trunk (rev. 26850)

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by pmauduit

patch against trunk (rev. 26850)

comment:1 Changed 7 years ago by Even Rouault

Cc: Daniel Morissette added
Component: defaultOGR_SF
Keywords: mitab added
Milestone: 1.11.1
Resolution: fixed
Status: newclosed

trunk r27367, branches/1.11 r27368 "MIFFILE: Remove duplicate OLCSequentialWrite test and report OLCCreateField (#5477, patch by Pierre Maudit)"

Also submitted upstream as

Note: See TracTickets for help on using tickets.