Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to multi import the same data over and over #1

Open
azariah001 opened this issue Aug 21, 2014 · 1 comment
Open

Possible to multi import the same data over and over #1

azariah001 opened this issue Aug 21, 2014 · 1 comment
Assignees

Comments

@azariah001
Copy link
Owner

I just managed to import the same set of documents and their queries into revelation 4 times over. The only error was a Django error page saying that get() had returned 2 then 3 then 4 identical objects wasn't until I checked the queries tab that I discovered there were 4 entries for everything!

Steps to resolve

  1. Return custom error page that informs the user of the actual problem.
  2. Prevent and/or confirm adding of duplicate sets of data.
  3. Provide a way for safely wiping the documents and queries lists without restarting the server.
@azariah001
Copy link
Owner Author

Ok..... this issue is also a problem if you try to continue using the system inspite of the duplicate data. Any attempt to access the results under the initials queries list results in the same get() error. :/

Suggest prompting for either complete data reset or duplicates deletion utilising a script that queries the database and combines down queries that return more than one result.

@azariah001 azariah001 self-assigned this Aug 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant