| Ticket UUID: | 1924065 | |||
| Title: | tiff - addEntry doesn't overwrite | |||
| Type: | Bug | Version: | None | |
| Submitter: | andreas_kupries | Created on: | 2008-03-24 03:52:45 | |
| Subsystem: | tiff | Assigned To: | afaupell | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Open | Last Modified: | 2026-11-16 00:06:14 | |
| Resolution: | None | Closed By: | ||
| Closed on: | ||||
| Description: |
The documentation of tiff::addEntry states that it does overwrite the data of a tag should that tag exist. This doesn't seem to happen. See tests tiff-23.*, in tiff.test, marked as knownBug. They first use addEntry to add a tag for 'Artist', and then addEntry again to overwrite 'Artist' with new data. The new data is not taken, per the inspection with 'getEntry'. | |||
| User Comments: |
serhiy.storchaka added on 2026-11-16 00:06:14:
Proposed fix in branch tiff-addentry-overwrite. addEntry stored the entry under the whole entry list instead of its tag, so the file got a second entry with the same tag; nametotag also checked the whole entry instead of the tag. The tiff-23 tests are enabled, and tiff-23a tests numeric tags. andreas_kupries added on 2008-03-24 11:20:32: data_type - 112883 | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki