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

Don't emit JMS event on file upload until the associated Media is saved #2113

Open
whikloj opened this issue May 25, 2022 · 1 comment
Open
Labels
Type: bug identifies a problem in the software with clear steps to reproduce

Comments

@whikloj
Copy link
Member

whikloj commented May 25, 2022

What steps does it take to reproduce the issue?

Configure an Islandora instance with Fedora, when you upload a file to the media (but before you save the media) look in the Alpaca logs for an exception.

When does this issue occur?

File is selected on the media page, it is uploaded in the background.

Which page does it occur on?

The media edit page (can't remember the URL)

What happens?

Exception in Alpaca

To whom does it occur (anonymous visitor, editor, administrator)?

Someone creating a media and adding a file to it. So authorized user.

What did you expect to happen?

No exception thrown

Which version of Islandora are you using?

Current

Any related open or closed issues to this bug report?

https://github.com/Islandora/isle-dc/issues/258

This was discussed at the May 25, 2022 Open tech call and it was suggested that Islandora should not emit a file event until the actual media is saved.

@whikloj whikloj added the Type: bug identifies a problem in the software with clear steps to reproduce label May 25, 2022
@ruebot
Copy link
Member

ruebot commented Aug 26, 2022

This probably explains a bunch of my exceptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug identifies a problem in the software with clear steps to reproduce
Projects
None yet
Development

No branches or pull requests

2 participants