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

Doc Repo second round testing #4702

Closed
zaliqarosli opened this issue May 27, 2019 · 7 comments
Closed

Doc Repo second round testing #4702

zaliqarosli opened this issue May 27, 2019 · 7 comments
Labels
Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label)

Comments

@zaliqarosli
Copy link
Contributor

zaliqarosli commented May 27, 2019

  1. When error thrown on trying to upload duplicate file name, form data gets erased and it shouldnt?
  2. Newly created subcategory does not appear in parent category directory on front-end as long as the parent category does not contain files
  3. Comments do not appear for a category. They also cannot be edited or added (this was never a feature). Comments should appear as tooltip
  4. Downloading content does not work - @johnsaigle
  5. New uploaded file does not appear until refresh

fixed issues:
1. Can create duplicate category names
3. front-end errors in Browse tab - PR #4701 merged
4. files don't get saved in proper directory - PR #4466 merged
5. Undefined index php notices in error log - PR #4721 merged
8. Pointer cursor can be added for 'Delete' - PR #4721 merged
11. not able to upload files with same name in different categories
12. No 'date uploaded' date - PR #4725
13. test plan probably needs updating - PR #4721 merged

@zaliqarosli zaliqarosli added 21.0.0 Testing Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label) labels May 27, 2019
@johnsaigle
Copy link
Contributor

johnsaigle commented May 28, 2019

  1. not able to upload files with same name in different categories

Yeah this is a feature that doesn't exist (rather than something not working correctly). A category is just a tag in the DB for presenting the fold/unfold view in the browser. All files are just uploaded to .../modules/document_repository/user_uploads/$user/$filename. That's why there's a conflict.

So you're right, item 11 needs to be updated as that's not actually something LORIS does.

@zaliqarosli
Copy link
Contributor Author

@johnsaigle true! that makes sense .. i'll update the test plan

@johnsaigle
Copy link
Contributor

It looks like for 9. that the download is actually serving the content of the webpage rather than the file it should be downloading. As in it downloads the HTML of LORIS as photo.jpg instead of the photo.

My guess is that it could be due to the path e.g. https://jsaigle-dev.loris.ca/document_repository/Files/bread-food-healthy-breakfast.jpg. I think Files/ is wrong there unless there's some new routing I don't know about.

@zaliqarosli
Copy link
Contributor Author

zaliqarosli commented May 28, 2019

@johnsaigle yeah i've been trying to figure this one out but not sure. if you want to have a crack at it let me know! FYI i'm fixing the errors in my error_log from testing the download just so we don't have fixing duplication (a PR will be coming soon)

@johnsaigle
Copy link
Contributor

Yeah I probably won't do anymore on this today but I'll get back to you if I do in the coming days

driusan pushed a commit that referenced this issue May 29, 2019
Fixes part of #4702. In particular:

5. Undefined index php notices in error log
8. Pointer cursor can be added for 'Delete'
13. test plan probably needs updating
@driusan
Copy link
Collaborator

driusan commented Jun 5, 2019

Can you split the remaining things into multiple tickets and close this?

driusan pushed a commit that referenced this issue Jun 5, 2019
@zaliqarosli
Copy link
Contributor Author

leftover issues separated into individual issues

driusan pushed a commit to driusan/Loris that referenced this issue Jun 6, 2019
nicolasbrossard pushed a commit to nicolasbrossard/Loris that referenced this issue Jun 26, 2019
Fixes part of aces#4702. In particular:

5. Undefined index php notices in error log
8. Pointer cursor can be added for 'Delete'
13. test plan probably needs updating
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label)
Projects
None yet
Development

No branches or pull requests

3 participants