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

500 error replacing page image #3105

Closed
saracarl opened this issue Apr 15, 2022 · 1 comment · Fixed by #3106
Closed

500 error replacing page image #3105

saracarl opened this issue Apr 15, 2022 · 1 comment · Fixed by #3106
Labels

Comments

@saracarl
Copy link
Collaborator

The Grove is reporting:

We have had problems with the visual quality of documents on a very specific kind of light gray paper. Recently I have just made png images from the pdf and replaced the pages and it works beautifully. Today it’s not working. I receive this message when trying to replace the image:

Screenshot with a 500 error

The letter I was working on is 89. Is there something I’m doing wrong?

I was able to reproduce and found this in the logs:

I, [2022-04-15T15:33:03.416661 #5559]  INFO -- : Completed 500  in 14ms (ActiveRecord: 4.9ms | Allocations: 4823)
F, [2022-04-15T15:33:03.423020 #5559] FATAL -- :   
TypeError (can't quote ActionDispatch::Http::UploadedFile):
  
app/controllers/page_controller.rb:84:in `update'

@saracarl
Copy link
Collaborator Author

@benwbrum benwbrum linked a pull request Apr 15, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant