Forum

Please or Register to create posts and topics.

Posting for friend – odd database issue - duplicate filenames

PreviousPage 2 of 2

Late to this party. The same basic conversation took place on the RM forums, except without the discussion of the SQLite UNIQUE attribute.

RM7 and previous versions of RM did not allow duplicate entries in the MultiMediaTable. This was enforced by the RM app, not by the RM schema. If a user added a "new" multimedia file that was already there, RM7 and previous versions simply treated it as a request to use the already existing file.

RM8 and subsequent versions (so far) do allow duplicate entries in the MultiMediaTable and do not test to determine that duplicate entries are being created. The simplest way they get there is just be the user adding the duplicates as "new" rather than as "use existing". There is no cue to the user that the duplicates are being created and there is no Merge function for duplicate media. I haven't tested the various kinds of import operations supported by RM to determine if any of them will also create duplicate multimedia files.

There has been speculation on the RM forums as to whether this behavior is a bug or if it's perhaps suggestive of an intention, for example, to support different captions for the same photo or even perhaps someday to support groups photos where you can isolate a particular individual in a group photo.

In any case, it seems like a real mess, especially without a function to merge duplicate media. I have no idea what direction Bruce is going to go on this one.

Yes, late to this party but I can't see an actual problem there as they all have a unique id and edit date/time so have been added by the user, probably to different people. So it comes down to user management of their media.

 

Yes, and they could potentially have different captions and descriptions.

Anyway, just thought I'd throw in a plug for my TestExternalFiles utility which has a function to search for such duplicated files.
https://RichardOtter.github.io

The new v1.5 release no longer needs RMNOCASE extension.

 

edit: fixed URL  !!!!

look like there was a typo on URL

is it *.com or *.io?

I found here instead

https://richardotter.github.io/

 

 

Thanks.

How embarrassing...

I fixed it.

PreviousPage 2 of 2