-
Notifications
You must be signed in to change notification settings - Fork 58
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
DATA LOSS with search + delete #83
Comments
Can you provide the following to help track this down?
|
I just did a new test with clean 2.1.3 install to confirm this. Exact steps:
...?-table=Test&-search=item&-action=list&-submit=Search+Test
...?-table=Test&-search=item&-action=browse&-submit=Search+Test&-cursor=0&-skip=0&-limit=30&-mode=list&-recordid=Test%3FTestID%3D1
...?-table=Test&-search=item&-action=delete&-submit=Search+Test&-cursor=0&-skip=0&-limit=30&-mode=list&-recordid=Test%3FTestID%3D1&-delete-one=1
...?-table=Test&-search=item&-action=delete&-submit=Search+Test&-cursor=1&-skip=0&-limit=30&-mode=list&-recordid=Test%3FTestID%3D2&-delete-one=1 !!! THIS PAGE IS WRONG, it is asking 'Are you sure you want to delete this record: "Third Item"?' !!!
It seems that Xataface is using search-parameters to decide which record to delete, and completely ignoring '-recordid' in the URL. So when first record from search is deleted, the subsequent deletions will delete wrong records. |
I can confirm this also. My workaround: reload search result after each delete. But even than deletion feels risky. Lost a lot of data due to this bug :( |
I just noticed a serious data loss when doing following steps:
In step 4, sometimes wrong items are being deleted, and not those which were selected from search results.
The text was updated successfully, but these errors were encountered: