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

Bug: Delete a non assigned file will delete another file #29

Closed
lenamtl opened this issue Jun 2, 2015 · 4 comments
Closed

Bug: Delete a non assigned file will delete another file #29

lenamtl opened this issue Jun 2, 2015 · 4 comments

Comments

@lenamtl
Copy link
Collaborator

lenamtl commented Jun 2, 2015

Have one file that is not assigned, private, not expire on
manage-files.php
Select the file
Select Delete
Click Proceed
Message delete with success appear, but the file is still in the list and in the folder.

If there are other assigned files on
manage-files.php the next file get deleted from the list and the folder!!!

*Nice to have the system should display the file name in the confirmation message.

@ignacionelson
Copy link
Collaborator

Horrible bug!
The delete function is passing an ID which cannot be found on the relations table, and that's why the file is never found to be deleted.
Working on a fix now.

@ignacionelson
Copy link
Collaborator

Fixed

@lenamtl
Copy link
Collaborator Author

lenamtl commented Jun 3, 2015

Thanks

@ignacionelson
Copy link
Collaborator

r582 includes this fix. Closing the issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants