Skip to content
New issue

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

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

Already on GitHub? # to your account

[publication] Fix download prevention by overriding download notification function #9208

Conversation

jeffersoncasimir
Copy link
Contributor

@jeffersoncasimir jeffersoncasimir commented Apr 16, 2024

Closes #9133.

An error regarding the non-existence of a notification_module with module: publication and operation: download prevented the downloading of files.

The notification function was overridden for this module to bypass the LorisException thrown by the non-existence of entries. It appeared by far to be a simpler solution than checking for and adding extra logic when the entries do not exist.

@jeffersoncasimir jeffersoncasimir added the 26.0.0-bugs Issues that were raised during the release testing for 26.0.0 label Apr 16, 2024
*
* @return void
*
* @phan-suppress-next-line PhanUnusedProtectedMethodParameter
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can wait until the tests run to see if it ignores comments but I'm pretty sure "suppress-next-line" needs to go immediately above the line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@driusan driusan merged commit f111b9c into aces:main Apr 16, 2024
28 checks passed
@ridz1208 ridz1208 added this to the 26.0.0 milestone Jun 6, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
26.0.0-bugs Issues that were raised during the release testing for 26.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[publication] Unable to download uploaded files
3 participants