Opened 18 years ago
Last modified 18 years ago
#1115 closed defect (fixed)
OGRShapeDataSource.Open leaves CPLErrors on success
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | ari.jolma@… |
Description
Calling OGRShapeDataSource.Open on a directory, which has lone dbf files without shp files, leaves CPLErrors on success if shpopen.c is compiled with USE_CPL defined. This could be probably fixed by calling CPLErrorReset in the function if the result is ok.
Change History (2)
comment:2 by , 18 years ago
(In reply to comment #1) > I have modified the shape driver to clear the error in the case of a lone > dbf. Leaving to Ari to test in his perl test case. This is not tested in the swig/perl/test.pl but I confirm that the bug is fixed.
Note:
See TracTickets
for help on using tickets.