Open alice-blue opened 10 months ago
Sort-of related (but maybe wants to be its own issue):
IFDB does currently enforce that IFIDs are unique. This is usually the right thing, but I ran into one case where it makes IFDB's data less accurate, because there are duplicate IFIDs out there. (Lord knows how, but that's the real-world data.)
B23132D3-91BF-4158-99DA-9C128303991B
(despite being seemingly unrelated works -- it's not obvious that one might have e.g. started by copy-pasting the other's source code).I ran into this when trying to enter the IFID to the latter, and getting the message Your changes were not saved ... The IFID [...] is already assigned to another game: Mousetrap. IFIDs must be unique. So, currently Labyrinth's record lacks an IFID.
Maybe soften it to a warning, with a checkbox "yes, these works really do have the same IFID"? (Unless you want to reserve it as an admin-side special case, where only a hardcoded list of IFIDs are allowed to be duplicated. Hopefully it really is quite rare.)
From https://intfiction.org/t/ifdb-search-anomaly/66571/12:
[The following part is about cleaning up IFIDs that have already been entered into IFDB, but I'm quoting it in case it's helpful in putting together an algorithm]