Welcome Guest Search | Active Topics | Members | Log In | Register
Bug: Duplicate metadata items Options
Roger Martin
Posted: Friday, October 03, 2008 12:33:43 PM
Rank: Administration

Joined: 8/3/2007
Posts: 844
Location: Fort Atkinson, WI
I discovered an issue, introduced in 2.1.3162, where some metadata items appear twice in the image metadata popup window. Typical items that appear twice:

Camera Model
Camera Make
Date Taken

Attached is a patch. This patch has only been tested against the most recent 2.1.3196 release, so be sure to upgrade to this version before applying the patch. To implement the patch, just copy the two files over the existing files in the bin directory of your Gallery Server Pro web application.

The patch affects how the metadata items are extracted but does not fix the existing duplicate items. To delete your duplicates, run a synchronization the the option "Re-import metadata" selected.

Note: Remember that if you deleted your hi-res photos, the compressed versions do not have any metadata, and re-synching will cause you to lose the metadata. If this is an issue, the only workaround is to go into the database and manually delete the duplicate items from the gs_MediaObjectMetadata table.

This fix will be included in versions later than 2.1.3196.

The first ZIP file contains the compiled patch. The second (the one with the word "source" in the name) contains the updated source code files.) Most of you will want the compiled patch. Download the source code only if you plan to compile the code.

File Attachment(s):
2.1.3196_patch_for_duplicate_metadata_items.zip (136kb) downloaded 32 time(s).
2.1.3196_patch_source_code.zip (5kb) downloaded 9 time(s).




Roger Martin
Lead Developer for Gallery Server Pro
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.2 (NET v2.0) - 9/27/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.