Menu

#25 Exif Accessor Doesn't Show Write Errors

open
nobody
Accessor (25)
5
2002-12-04
2001-11-05
Daniel Rupe
No

If an Accessor is obtained like this:

PmtAccessorPtr acc = PmtAccessor::getAccessor(testFile);

and a subsequent writeMetadata() call is made on it, no error of any kind is detected.

Since the 'mode' parameter in getAccessor defaults to PMT_READONLY, it is not possible to write
to the opened file. However, no errors of any kind are returned from a writeMetadata() call to
a read-only file. Even if throwErrors() is set to true, no errors are thrown.

writeMetadata() should throw an error (when throwErrors() is set to true) if it's called on a
read-only file.

Discussion

  • Daniel Rupe

    Daniel Rupe - 2001-11-07
    • assigned_to: nobody --> lin
     
  • Daniel Rupe

    Daniel Rupe - 2002-12-04
    • assigned_to: lin --> nobody
     

Log in to post a comment.

MongoDB Logo MongoDB