Ticket #2161 (closed defect: fixed)
CPLError in VSI Open/Read Causing problems.
| Reported by: | warmerdam | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | default | Version: | svn-trunk |
| Severity: | normal | Keywords: | vsi |
| Cc: | dron tamas |
Description
Recent changes (primarily r13539 and r13538) modify VSIFOpen(), VSIFOpenL() and read/write functions in some contexts to issue CPLError() calls if they fail.
This causes a variety of problems. Most notably many autotest suite tests fail because CPL errors are getting set and not cleared and later triggering python exceptions or other failures.
Basically, the current application expectation is that VSI functions should not directly issues errors themselves. Changing this assumption ripples through the system.
Change History
Note: See
TracTickets for help on using
tickets.
