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

metadata field not saving #3046

Closed
saracarl opened this issue Mar 16, 2022 · 0 comments · Fixed by #3060
Closed

metadata field not saving #3046

saracarl opened this issue Mar 16, 2022 · 0 comments · Fixed by #3060
Labels

Comments

@saracarl
Copy link
Collaborator

There's a drop down for author here:

https://fromthepage.com/stefansson-wrangel-09-01-001-5b5d7392-6e7c-4ae5-a675-e3f82fdeb60a/wrangel-island-set/stefansson-wrangel-09-01-001-5b5d7392-6e7c-4ae5-a675-e3f82fdeb60a/save_description

But if you choose an author it isn't saving. I'm not seeing any errors or warnings in the logs, on this:

I, [2022-03-16T18:28:02.454526 #5110] INFO -- : Started PATCH "/stefansson-wrangel-09-01-001-5b5d7392-6e7c-4ae5-a675-e3 f82fdeb60a/wrangel-island-set/stefansson-wrangel-09-01-001-5b5d7392-6e7c-4ae5-a675-e3f82fdeb60a/save_description" for 13 6.62.2.224 at 2022-03-16 18:28:02 +0000 I, [2022-03-16T18:28:02.457065 #5110] INFO -- : Processing by WorkController#save_description as HTML I, [2022-03-16T18:28:02.457443 #5110] INFO -- : Parameters: {"authenticity_token"=>"HuZC/OgukPzFFc/LOy0S63Gf3t5KUEM/c aQBn+lP6uuTmN9Oy8eneUhMlfa3RVtHgK5foKNOAyZt+RDs6f/uQA==", "work_id"=>"stefansson-wrangel-09-01-001-5b5d7392-6e7c-4ae5-a6 75-e3f82fdeb60a", "save_to_needs_review"=>"", "filter-brightness"=>"0", "filter-contrast"=>"0", "filter-threshold"=>"0", "fields"=>{"3964"=>{"Author"=>"\r\nLoring Cheney Christie"}, "3965"=>{"Recipient"=>" "}, "3971"=>{"Date"=>"1920-09-25" }, "3972"=>{"Document Type"=>"Letter"}}, "user_slug"=>"stefansson-wrangel-09-01-001-5b5d7392-6e7c-4ae5-a675-e3f82fdeb60a ", "collection_id"=>"wrangel-island-set"}

What I'm noticing is that we're passing the work_id as the user_slug; perhaps that is the problem? "user_slug"=>"stefansson-wrangel-09-01-001-5b5d7392-6e7c-4ae5-a675-e3f82fdeb60a "

benwbrum added a commit that referenced this issue Mar 23, 2022
@benwbrum benwbrum linked a pull request Mar 23, 2022 that will close this issue
saracarl added a commit that referenced this issue Mar 28, 2022
sylvieed pushed a commit that referenced this issue Jul 14, 2022
sylvieed pushed a commit that referenced this issue Jul 14, 2022
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.

2 participants