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

Deleting master file can cause a 500 #1392

Closed
cjcolvar opened this issue Nov 17, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@cjcolvar
Copy link
Member

commented Nov 17, 2016

Steps to reproduce:
Create a new item
Add two files
Delete the files

Sometimes a 500 is thrown.
Rubyhorn::RestClient::Exceptions::ServerError in MasterFilesController#destroy
app/models/master_file.rb:709:in stop_processing!' app/controllers/master_files_controller.rb:242:in destroy'

Probably a timing issue. We need to catch this exception and handle it instead of causing master file destroy to fail.

@davidschober davidschober added 6.x and removed 6.0 labels Nov 21, 2016

@joncameron joncameron modified the milestone: Backlog Jun 23, 2017

@davidschober

This comment has been minimized.

Copy link

commented May 17, 2019

@joncameron can you try to reproduce and reopen if necessary. This feels very stale and I haven't heard any outside, real world use cases.

@joncameron

This comment has been minimized.

Copy link
Contributor

commented May 17, 2019

This is fine to stay closed. This does happen (first identified in a production instance) but is heavily an edge case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.