Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Deal with case in EDV REST store where in Get() method, multiple matching document IDs are returned #2287

Closed
DRK3 opened this issue Nov 2, 2020 · 1 comment

Comments

@DRK3
Copy link
Contributor

DRK3 commented Nov 2, 2020

From the relevant code in the Get() method:

// This should only be possible if the EDV server is not able to maintain the uniqueness property of the
// indexedAttribute created in the createIndexedAttribute method.
// TODO (#2287): Check each of the documents to see if they all have the same content 
// (other than the document ID). If so, we should delete the extras and just return one of them arbitrarily.
@DRK3
Copy link
Contributor Author

DRK3 commented Nov 29, 2020

Removed in #2355 since I've now realized that the design of the EDV provider already prevents this edge-case from happening.

@DRK3 DRK3 closed this as completed Nov 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant