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

Work has pages from a different owner/collection/work #3116

Closed
saracarl opened this issue Apr 22, 2022 · 14 comments · Fixed by #3117
Closed

Work has pages from a different owner/collection/work #3116

saracarl opened this issue Apr 22, 2022 · 14 comments · Fixed by #3117
Labels

Comments

@saracarl
Copy link
Collaborator

As I was going through the Wilford Woodruff Papers Project collection on FTP the other day, I noticed two letters that were titled according to our collection, but the images and transcriptions did not belong to our collection. They were both part of the Frederick Douglass Papers. Here are the two links: #1 and #2.

@saracarl
Copy link
Collaborator Author

The title is from Wilford Woodruff, the pages and transcription is from FDP. The "uploaded by" is FDP, but the metadata has the Wilford metadata in it.

@saracarl
Copy link
Collaborator Author

Bad work URL:
https://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-c585f364-2bdc-4429-acbf-a7d3fb0517a3

Same Wilford work, but good version:
https://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original

(note the guid is appended to the "bad" one)

FDP has no document sets, so it's not that.
Metadata.yml doesn't confuse document set, either.

@benwbrum
Copy link
Owner

benwbrum commented Apr 22, 2022

Comparisons:

2.7.1 :022 > other_work.title
 => "Letter from Eli B. Kelsey, 19 December 1849" 
2.7.1 :023 > page.work.title
 => "Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]" 
2.7.1 :024 > bad_work = page.work
2.7.1 :025 > bad_work.title
 => "Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]" 
2.7.1 :026 > other_work.title
 => "Letter from Eli B. Kelsey, 19 December 1849" 
2.7.1 :027 > bad_work.slug
 => "ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-70b23088-63a4-4c34-8516-4624346e1b6d" 
2.7.1 :028 > other_work.slug
 => "ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original" 
2.7.1 :029 > bad_work.created_on
 => Sun, 13 Jun 2021 23:15:41 UTC +00:00 
2.7.1 :032 > other_work.created_on
 => Sat, 24 Apr 2021 17:37:28 UTC +00:00 

@benwbrum
Copy link
Owner

benwbrum commented Apr 22, 2022

More findings:

2.7.1 :033 > bad_work.owner.display_name
 => "Frederick Douglass Digital Edition" 
2.7.1 :034 > other_work.owner.display_name
 => "Jason Ballard Godfrey" 
2.7.1 :035 > bad_work.pages.first.id
 => 25092040 
2.7.1 :036 > other_work.pages.first.id
 => 25016299 

Deeds for the problem work

2.7.1 :038 > pp bad_work.deeds
[#<Deed:0x00000000057f6818
  id: 32510465,
  deed_type: "work_add",
  page_id: nil,
  work_id: 25003687,
  collection_id: 970,
  article_id: nil,
  user_id: 215926,
  note_id: nil,
  created_at: Sat, 16 Apr 2022 14:03:14 UTC +00:00,
  updated_at: Sat, 16 Apr 2022 14:03:14 UTC +00:00,
  visit_id: 17092780,
  prerender:
   "<a href=\"/fdp\">Frederick Douglass Digital Edition</a> added <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-1be24ced-3117-437c-ae8b-06e6fe1d71ca\">Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]</a> in the work <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-1be24ced-3117-437c-ae8b-06e6fe1d71ca\">Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]</a> in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/fdp\">Frederick Douglass Digital Edition</a> added <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-1be24ced-3117-437c-ae8b-06e6fe1d71ca\">Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]</a> in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-1be24ced-3117-437c-ae8b-06e6fe1d71ca\">Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x00000000057f64a8
  id: 25271843,
  deed_type: "page_trans",
  page_id: 25092040,
  work_id: 25003687,
  collection_id: 970,
  article_id: nil,
  user_id: 103532,
  note_id: nil,
  created_at: Thu, 24 Jun 2021 23:36:31 UTC +00:00,
  updated_at: Thu, 24 Jun 2021 23:36:31 UTC +00:00,
  visit_id: 12357601,
  prerender:
   "<a href=\"/lap8y\">Lynn Price Robbins</a> transcribed page <a href=\"/fdp/correspondence-volume-2-unpublished/25000787/display/25092040\">D6569</a> in the work <a href=\"/fdp/correspondence-volume-2-unpublished/25000787\">John T. Waugh to Frederick Douglass, April 2, 1854</a> in <a href=\"/fdp/correspondence-volume-2-unpublished\">Correspondence Volume 2 (Unpublished--To Transcribe)</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/lap8y\">Lynn Price Robbins</a> transcribed page <a href=\"http://fromthepage.com/fdp/correspondence-volume-2-unpublished/25000787/display/25092040\">D6569</a> in the work <a href=\"http://fromthepage.com/fdp/correspondence-volume-2-unpublished/25000787\">John T. Waugh to Frederick Douglass, April 2, 1854</a> in <a href=\"http://fromthepage.com/fdp/correspondence-volume-2-unpublished\">Correspondence Volume 2 (Unpublished--To Transcribe)</a> collection",
  is_public: true>,
 #<Deed:0x00000000057f6228
  id: 25271819,
  deed_type: "note_add",
  page_id: 25092040,
  work_id: 25003687,
  collection_id: 970,
  article_id: nil,
  user_id: 103532,
  note_id: 25004504,
  created_at: Thu, 24 Jun 2021 23:14:53 UTC +00:00,
  updated_at: Thu, 24 Jun 2021 23:14:53 UTC +00:00,
  visit_id: 12357601,
  prerender:
   "<a href=\"/lap8y\">Lynn Price Robbins</a> added a note to page <a href=\"/fdp/correspondence-volume-2-unpublished/25000787/display/25092040\">D6569</a> in the work <a href=\"/fdp/correspondence-volume-2-unpublished/25000787\">John T. Waugh to Frederick Douglass, April 2, 1854</a> in <a href=\"/fdp/correspondence-volume-2-unpublished\">Correspondence Volume 2 (Unpublished--To Transcribe)</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/lap8y\">Lynn Price Robbins</a> added a note to page <a href=\"http://fromthepage.com/fdp/correspondence-volume-2-unpublished/25000787/display/25092040\">D6569</a> in the work <a href=\"http://fromthepage.com/fdp/correspondence-volume-2-unpublished/25000787\">John T. Waugh to Frederick Douglass, April 2, 1854</a> in <a href=\"http://fromthepage.com/fdp/correspondence-volume-2-unpublished\">Correspondence Volume 2 (Unpublished--To Transcribe)</a> collection, saying &ldquo;This is dated April 21 rather than April 2.\r\n" +
   "https://www.loc.gov/resource/sn84026366/1854-04-21/ed-1/?sp=4&r=0.162,0.046,0.236,0.177,0&rdquo;",
  is_public: true>,
 #<Deed:0x00000000057f5fa8
  id: 25236977,
  deed_type: "work_add",
  page_id: nil,
  work_id: 25003687,
  collection_id: 970,
  article_id: nil,
  user_id: 215926,
  note_id: nil,
  created_at: Sun, 13 Jun 2021 23:15:43 UTC +00:00,
  updated_at: Sun, 13 Jun 2021 23:15:43 UTC +00:00,
  visit_id: nil,
  prerender:
   "<a href=\"/fdp\">Frederick Douglass Digital Edition</a> added <a href=\"/fdp/correspondence-volume-2-unpublished/25000787\">25000787</a> in the work <a href=\"/fdp/correspondence-volume-2-unpublished/25000787\">25000787</a> in <a href=\"/fdp/correspondence-volume-2-unpublished\">Correspondence Volume 2 (Unpublished)</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/fdp\">Frederick Douglass Digital Edition</a> added <a href=\"http://fromthepage.com/fdp/correspondence-volume-2-unpublished/25000787\">25000787</a> in the work <a href=\"http://fromthepage.com/fdp/correspondence-volume-2-unpublished/25000787\">25000787</a> in <a href=\"http://fromthepage.com/fdp/correspondence-volume-2-unpublished\">Correspondence Volume 2 (Unpublished)</a> collection",
  is_public: true>]
 => #<ActiveRecord::Associations::CollectionProxy [#<Deed id: 32510465, deed_type: "work_add", page_id: nil, work_id: 25003687, collection_id: 970, article_id: nil, user_id: 215926, note_id: nil, created_at: "2022-04-16 14:03:14", updated_at: "2022-04-16 14:03:14", visit_id: 17092780, prerender: "<a href=\"/fdp\">Frederick Douglass Digital Edition<...", prerender_mailer: "<a href=\"http://fromthepage.com/fdp\">Frederick Dou...", is_public: false>, #<Deed id: 25271843, deed_type: "page_trans", page_id: 25092040, work_id: 25003687, collection_id: 970, article_id: nil, user_id: 103532, note_id: nil, created_at: "2021-06-24 23:36:31", updated_at: "2021-06-24 23:36:31", visit_id: 12357601, prerender: "<a href=\"/lap8y\">Lynn Price Robbins</a> transcribe...", prerender_mailer: "<a href=\"http://fromthepage.com/lap8y\">Lynn Price ...", is_public: true>, #<Deed id: 25271819, deed_type: "note_add", page_id: 25092040, work_id: 25003687, collection_id: 970, article_id: nil, user_id: 103532, note_id: 25004504, created_at: "2021-06-24 23:14:53", updated_at: "2021-06-24 23:14:53", visit_id: 12357601, prerender: "<a href=\"/lap8y\">Lynn Price Robbins</a> added a no...", prerender_mailer: "<a href=\"http://fromthepage.com/lap8y\">Lynn Price ...", is_public: true>, #<Deed id: 25236977, deed_type: "work_add", page_id: nil, work_id: 25003687, collection_id: 970, article_id: nil, user_id: 215926, note_id: nil, created_at: "2021-06-13 23:15:43", updated_at: "2021-06-13 23:15:43", visit_id: nil, prerender: "<a href=\"/fdp\">Frederick Douglass Digital Edition<...", prerender_mailer: "<a href=\"http://fromthepage.com/fdp\">Frederick Dou...", is_public: true>]> 

Older work deeds

2.7.1 :039 > pp other_work.deeds
[#<Deed:0x0000000005e58ad0
  id: 25101768,
  deed_type: "review",
  page_id: 25016300,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 220513,
  note_id: nil,
  created_at: Sat, 01 May 2021 14:24:43 UTC +00:00,
  updated_at: Sat, 01 May 2021 14:24:43 UTC +00:00,
  visit_id: 11537244,
  prerender:
   "<a href=\"/jannyp\">Jannyp</a> marked page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a> as needing review in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/jannyp\">Jannyp</a> marked page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a> as needing review in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e46e48
  id: 25101767,
  deed_type: "pg_revd",
  page_id: 25016300,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 220513,
  note_id: nil,
  created_at: Sat, 01 May 2021 14:24:40 UTC +00:00,
  updated_at: Sat, 01 May 2021 14:24:40 UTC +00:00,
  visit_id: 11537244,
  prerender:
   "<a href=\"/jannyp\">Jannyp</a> reviewed page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a>  in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/jannyp\">Jannyp</a> reviewed page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a>  in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e45840
  id: 25101766,
  deed_type: "page_edit",
  page_id: 25016300,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 220513,
  note_id: nil,
  created_at: Sat, 01 May 2021 14:24:37 UTC +00:00,
  updated_at: Sat, 01 May 2021 14:24:37 UTC +00:00,
  visit_id: 11537244,
  prerender:
   "<a href=\"/jannyp\">Jannyp</a> edited page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a> in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/jannyp\">Jannyp</a> edited page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a> in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e447d8
  id: 25101760,
  deed_type: "review",
  page_id: 25016299,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 220513,
  note_id: nil,
  created_at: Sat, 01 May 2021 14:22:43 UTC +00:00,
  updated_at: Sat, 01 May 2021 14:22:43 UTC +00:00,
  visit_id: 11537244,
  prerender:
   "<a href=\"/jannyp\">Jannyp</a> marked page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> as needing review in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/jannyp\">Jannyp</a> marked page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> as needing review in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e44508
  id: 25101759,
  deed_type: "pg_revd",
  page_id: 25016299,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 220513,
  note_id: nil,
  created_at: Sat, 01 May 2021 14:22:39 UTC +00:00,
  updated_at: Sat, 01 May 2021 14:22:39 UTC +00:00,
  visit_id: 11537244,
  prerender:
   "<a href=\"/jannyp\">Jannyp</a> reviewed page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a>  in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/jannyp\">Jannyp</a> reviewed page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a>  in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e37470
  id: 25101754,
  deed_type: "review",
  page_id: 25016299,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 220513,
  note_id: nil,
  created_at: Sat, 01 May 2021 14:22:13 UTC +00:00,
  updated_at: Sat, 01 May 2021 14:22:13 UTC +00:00,
  visit_id: 11537244,
  prerender:
   "<a href=\"/jannyp\">Jannyp</a> marked page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> as needing review in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/jannyp\">Jannyp</a> marked page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> as needing review in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e35fa8
  id: 25101753,
  deed_type: "pg_revd",
  page_id: 25016299,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 220513,
  note_id: nil,
  created_at: Sat, 01 May 2021 14:22:10 UTC +00:00,
  updated_at: Sat, 01 May 2021 14:22:10 UTC +00:00,
  visit_id: 11537244,
  prerender:
   "<a href=\"/jannyp\">Jannyp</a> reviewed page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a>  in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/jannyp\">Jannyp</a> reviewed page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a>  in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e35878
  id: 25101752,
  deed_type: "review",
  page_id: 25016299,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 220513,
  note_id: nil,
  created_at: Sat, 01 May 2021 14:21:50 UTC +00:00,
  updated_at: Sat, 01 May 2021 14:21:50 UTC +00:00,
  visit_id: 11537244,
  prerender:
   "<a href=\"/jannyp\">Jannyp</a> marked page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> as needing review in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/jannyp\">Jannyp</a> marked page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> as needing review in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e353f0
  id: 25101751,
  deed_type: "pg_revd",
  page_id: 25016299,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 220513,
  note_id: nil,
  created_at: Sat, 01 May 2021 14:21:46 UTC +00:00,
  updated_at: Sat, 01 May 2021 14:21:46 UTC +00:00,
  visit_id: 11537244,
  prerender:
   "<a href=\"/jannyp\">Jannyp</a> reviewed page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a>  in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/jannyp\">Jannyp</a> reviewed page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a>  in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e350a8
  id: 25101749,
  deed_type: "page_edit",
  page_id: 25016299,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 220513,
  note_id: nil,
  created_at: Sat, 01 May 2021 14:21:39 UTC +00:00,
  updated_at: Sat, 01 May 2021 14:21:39 UTC +00:00,
  visit_id: 11537244,
  prerender:
   "<a href=\"/jannyp\">Jannyp</a> edited page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/jannyp\">Jannyp</a> edited page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e34c48
  id: 25077747,
  deed_type: "page_edit",
  page_id: 25016300,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 220513,
  note_id: nil,
  created_at: Sun, 25 Apr 2021 14:24:29 UTC +00:00,
  updated_at: Sun, 25 Apr 2021 14:24:29 UTC +00:00,
  visit_id: 11503004,
  prerender:
   "<a href=\"/jannyp\">Jannyp</a> edited page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a> in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/jannyp\">Jannyp</a> edited page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a> in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e23fb0
  id: 25077746,
  deed_type: "review",
  page_id: 25016300,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 220513,
  note_id: nil,
  created_at: Sun, 25 Apr 2021 14:24:28 UTC +00:00,
  updated_at: Sun, 25 Apr 2021 14:24:28 UTC +00:00,
  visit_id: 11503004,
  prerender:
   "<a href=\"/jannyp\">Jannyp</a> marked page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a> as needing review in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/jannyp\">Jannyp</a> marked page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a> as needing review in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e23718
  id: 25077740,
  deed_type: "review",
  page_id: 25016299,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 220513,
  note_id: nil,
  created_at: Sun, 25 Apr 2021 14:21:30 UTC +00:00,
  updated_at: Sun, 25 Apr 2021 14:21:30 UTC +00:00,
  visit_id: 11503004,
  prerender:
   "<a href=\"/jannyp\">Jannyp</a> marked page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> as needing review in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/jannyp\">Jannyp</a> marked page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> as needing review in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e22d90
  id: 25077741,
  deed_type: "page_edit",
  page_id: 25016299,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 220513,
  note_id: nil,
  created_at: Sun, 25 Apr 2021 14:21:30 UTC +00:00,
  updated_at: Sun, 25 Apr 2021 14:21:30 UTC +00:00,
  visit_id: 11503004,
  prerender:
   "<a href=\"/jannyp\">Jannyp</a> edited page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/jannyp\">Jannyp</a> edited page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e22840
  id: 25077330,
  deed_type: "pg_revd",
  page_id: 25016299,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 232142,
  note_id: nil,
  created_at: Sat, 24 Apr 2021 21:35:55 UTC +00:00,
  updated_at: Sat, 24 Apr 2021 21:35:55 UTC +00:00,
  visit_id: 11500371,
  prerender:
   "<a href=\"/tfinnegan\">tfinnegan</a> reviewed page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a>  in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/tfinnegan\">tfinnegan</a> reviewed page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a>  in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e22548
  id: 25077329,
  deed_type: "review",
  page_id: 25016299,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 232142,
  note_id: nil,
  created_at: Sat, 24 Apr 2021 21:35:51 UTC +00:00,
  updated_at: Sat, 24 Apr 2021 21:35:51 UTC +00:00,
  visit_id: 11500371,
  prerender:
   "<a href=\"/tfinnegan\">tfinnegan</a> marked page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> as needing review in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/tfinnegan\">tfinnegan</a> marked page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> as needing review in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e21a30
  id: 25077328,
  deed_type: "pg_revd",
  page_id: 25016300,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 232142,
  note_id: nil,
  created_at: Sat, 24 Apr 2021 21:35:44 UTC +00:00,
  updated_at: Sat, 24 Apr 2021 21:35:44 UTC +00:00,
  visit_id: 11500371,
  prerender:
   "<a href=\"/tfinnegan\">tfinnegan</a> reviewed page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a>  in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/tfinnegan\">tfinnegan</a> reviewed page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a>  in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e20ba8
  id: 25077327,
  deed_type: "review",
  page_id: 25016300,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 232142,
  note_id: nil,
  created_at: Sat, 24 Apr 2021 21:34:31 UTC +00:00,
  updated_at: Sat, 24 Apr 2021 21:34:31 UTC +00:00,
  visit_id: 11500371,
  prerender:
   "<a href=\"/tfinnegan\">tfinnegan</a> marked page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a> as needing review in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/tfinnegan\">tfinnegan</a> marked page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a> as needing review in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e20720
  id: 25077326,
  deed_type: "page_trans",
  page_id: 25016300,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 232142,
  note_id: nil,
  created_at: Sat, 24 Apr 2021 21:34:24 UTC +00:00,
  updated_at: Sat, 24 Apr 2021 21:34:24 UTC +00:00,
  visit_id: 11500371,
  prerender:
   "<a href=\"/tfinnegan\">tfinnegan</a> transcribed page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a> in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/tfinnegan\">tfinnegan</a> transcribed page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016300\">page_0002</a> in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e203b0
  id: 25077314,
  deed_type: "page_edit",
  page_id: 25016299,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 232142,
  note_id: nil,
  created_at: Sat, 24 Apr 2021 21:26:02 UTC +00:00,
  updated_at: Sat, 24 Apr 2021 21:26:02 UTC +00:00,
  visit_id: 11500371,
  prerender:
   "<a href=\"/tfinnegan\">tfinnegan</a> edited page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/tfinnegan\">tfinnegan</a> edited page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e200b8
  id: 25077312,
  deed_type: "page_edit",
  page_id: 25016299,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 232142,
  note_id: nil,
  created_at: Sat, 24 Apr 2021 21:22:47 UTC +00:00,
  updated_at: Sat, 24 Apr 2021 21:22:47 UTC +00:00,
  visit_id: 11500371,
  prerender:
   "<a href=\"/tfinnegan\">tfinnegan</a> edited page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/tfinnegan\">tfinnegan</a> edited page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e12dc8
  id: 25077311,
  deed_type: "page_trans",
  page_id: 25016299,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 232142,
  note_id: nil,
  created_at: Sat, 24 Apr 2021 21:21:05 UTC +00:00,
  updated_at: Sat, 24 Apr 2021 21:21:05 UTC +00:00,
  visit_id: 11500371,
  prerender:
   "<a href=\"/tfinnegan\">tfinnegan</a> transcribed page <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/tfinnegan\">tfinnegan</a> transcribed page <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original/display/25016299\">page_0001</a> in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">Letter from Eli B. Kelsey, 19 December 1849</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,
 #<Deed:0x0000000005e12468
  id: 25076957,
  deed_type: "work_add",
  page_id: nil,
  work_id: 25000787,
  collection_id: 970,
  article_id: nil,
  user_id: 224160,
  note_id: nil,
  created_at: Sat, 24 Apr 2021 17:37:30 UTC +00:00,
  updated_at: Sat, 24 Apr 2021 17:37:30 UTC +00:00,
  visit_id: nil,
  prerender:
   "<a href=\"/jbgodfrey10\">Jason Ballard Godfrey</a> added <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">MS_1352_b0006_f0017-Eli_B_Kelsey_letter_to_Wilford_Woodruff-ORIGINAL</a> in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/jbgodfrey10\">Jason Ballard Godfrey</a> added <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">MS_1352_b0006_f0017-Eli_B_Kelsey_letter_to_Wilford_Woodruff-ORIGINAL</a> in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original\">MS_1352_b0006_f0017-Eli_B_Kelsey_letter_to_Wilford_Woodruff-ORIGINAL</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>]

@benwbrum
Copy link
Owner

2.7.1 :047 > pp bad_deed
#<Deed:0x00000000057f6818
 id: 32510465,
 page_id: nil,
 collection_id: 970,
 article_id: nil,
 user_id: 215926,
 note_id: nil,
 created_at: Sat, 16 Apr 2022 14:03:14 UTC +00:00,
 updated_at: Sat, 16 Apr 2022 14:03:14 UTC +00:00,
 visit_id: 17092780,
 prerender:
  "<a href=\"/fdp\">Frederick Douglass Digital Edition</a> added <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-1be24ced-3117-437c-ae8b-06e6fe1d71ca\">Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]</a> in the work <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-1be24ced-3117-437c-ae8b-06e6fe1d71ca\">Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]</a> in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
 prerender_mailer:
  "<a href=\"http://fromthepage.com/fdp\">Frederick Douglass Digital Edition</a> added <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-1be24ced-3117-437c-ae8b-06e6fe1d71ca\">Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]</a> in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-1be24ced-3117-437c-ae8b-06e6fe1d71ca\">Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
 is_public: false>
 => #<Deed id: 32510465, deed_type: "work_add", page_id: nil, work_id: 25003687, collection_id: 970, article_id: nil, user_id: 215926, note_id: nil, created_at: "2022-04-16 14:03:14", updated_at: "2022-04-16 14:03:14", visit_id: 17092780, prerender: "<a href=\"/fdp\">Frederick Douglass Digital Edition<...", prerender_mailer: "<a href=\"http://fromthepage.com/fdp\">Frederick Dou...", is_public: false> 
2.7.1 :048 > pp bad_deed.visit
#<Visit:0x0000000004d61bf0
 id: 17092780,
 visit_token: "2450b6c8-b330-410d-a7d2-831bce1eb0f3",
 visitor_token: "1796ea69-6dc3-4abf-8a0c-67ffe833f0d1",
 ip: "73.20.15.21",
 user_agent:
  "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36",
 referrer: nil,
 landing_page: "https://fromthepage.com/",
 user_id: 224160,
 referring_domain: nil,
 search_keyword: nil,
 browser: "Chrome",
 os: "Mac OS X",
 device_type: "Desktop",
 screen_height: nil,
 screen_width: nil,
 country: nil,
 region: nil,
 city: nil,
 postal_code: nil,
 latitude: nil,
 longitude: nil,
 utm_source: nil,
 utm_medium: nil,
 utm_term: nil,
 utm_content: nil,
 utm_campaign: nil,
 started_at: Sat, 16 Apr 2022 12:33:41 UTC +00:00>
 => #<Visit id: 17092780, visit_token: "2450b6c8-b330-410d-a7d2-831bce1eb0f3", visitor_token: "1796ea69-6dc3-4abf-8a0c-67ffe833f0d1", ip: "73.20.15.21", user_agent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) Ap...", referrer: nil, landing_page: "https://fromthepage.com/", user_id: 224160, referring_domain: nil, search_keyword: nil, browser: "Chrome", os: "Mac OS X", device_type: "Desktop", screen_height: nil, screen_width: nil, country: nil, region: nil, city: nil, postal_code: nil, latitude: nil, longitude: nil, utm_source: nil, utm_medium: nil, utm_term: nil, utm_content: nil, utm_campaign: nil, started_at: "2022-04-16 12:33:41"> 
2.7.1 :049 > bad_deed.user.display_name
 => "Frederick Douglass Digital Edition" 
2.7.1 :050 > bad_deed.visit.user.display_name
 => "Jason Ballard Godfrey" 

@saracarl
Copy link
Collaborator Author

Using the work created deed's visitID and timestamp, I was able to track down the activity that caused this:

image

The work was updated to change the title, and somehow that triggered a work_add that cascaded down.

deed_type: "work_add",
  page_id: nil,
  work_id: 25003687,
  collection_id: 970,
  article_id: nil,
  user_id: 215926,
  note_id: nil,
  created_at: Sat, 16 Apr 2022 14:03:14 UTC +00:00,
  updated_at: Sat, 16 Apr 2022 14:03:14 UTC +00:00,
  visit_id: 17092780,
  prerender:
   "<a href=\"/fdp\">Frederick Douglass Digital Edition</a> added <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-1be24ced-3117-437c-ae8b-06e6fe1d71ca\">Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]</a> in the work <a href=\"/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-1be24ced-3117-437c-ae8b-06e6fe1d71ca\">Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]</a> in <a href=\"/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  prerender_mailer:
   "<a href=\"http://fromthepage.com/fdp\">Frederick Douglass Digital Edition</a> added <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-1be24ced-3117-437c-ae8b-06e6fe1d71ca\">Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]</a> in the work <a href=\"http://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-1be24ced-3117-437c-ae8b-06e6fe1d71ca\">Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]</a> in <a href=\"http://fromthepage.com/woodruff/woodruffpapers\">Wilford Woodruff Papers Project</a> collection",
  is_public: false>,

@saracarl
Copy link
Collaborator Author

Here's where we are updating the work:

I, [2022-04-16T14:03:13.373424 #28823]  INFO -- :   Parameters: {"authenticity_token"=>"zAYrpDg0J6Ts2fgxGqiqexb9sN6Sz1+TzzOVbvoFfG/ulaaKGaT8BpXH1L0vEjQFYl5pEQ35k9PaXNDHmngmnQ==", "collection_id"=>"woodruffpapers", "work"=>{"title"=>"Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]", "collection_id"=>"970", "slug"=>"ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original", "identifier"=>"", "pages_are_meaningful"=>"1", "ocr_correction"=>"0", "description"=>"", "transcription_conventions"=>"<p><b>Transcription Conventions for the Wilford Woodruff Papers </b></p>\r\n<ul><li><i>Spelling: </i>Use the author's spelling. Do not correct spelling.</li>\r\n <li><i>Capitalization: </i>Use the author's original capitalization. Do not change capitalization.</li>\r\n<li><i>Punctuation: </i>Use the author's original punctuation. Do not edit punctuation.</li>\r\n<li><i> Insertions: </i>Use carets \"^^\" around the inserted word(s). </li>\r\n<li><i> Underlining: </i><b>First</b> highlight the text to be underlined and <b>then</b> click on the underline (\"u\") button at the top of the transcription box. (Failing to highlight the text first may result in the entire page being underlined.)</li>\r\n<li><i> Strikethrough: </i><b>First</b> highlight the text to be stricken through and <b>then</b> click on the strikethrough (\"s\") button at the top of the transcription box.</li>\r\n<li><i> Superscript: </i><b>First</b> highlight the text to be superscripted and <b>then</b> click on the superscript (\"sup\") button at the top of the transcription box.</li>\r\n\r\n<li><i>Line Breaks: </i>Hit <code>return</code> once after each line ends.  Two returns indicate a new paragraph.</li>\r\n<li><i>Unclear Words: </i> Indicate unclear words by highlighting them and then selecting the \"unclear\" button at the top of the transcription box.\r\n <li><i>Illegible text: </i>Indicate illegible words with the word \"illegible\" and the \"unclear\" button.</li>\r\n\r\n<li><i> Italics: </i>Use two angle brackets \"<>\" with an \"i\" in between the angle brackets to start the italics, and two more \"<>\" with \"/i\" in between them to end the italics.</li>\r\n\r\n<li><i> Subscript: </i>Use two angle brackets \"<>\" with a \"sub\" in between the angle brackets to start the subscript, and two more \"<>\" with \"/sub\" between them to end the subscript.</li>\r\n<li><i> Bolded text: </i>Use two angle brackets \"<>\" with a \"b\" in between the angle brackets to start the bold text, and two more \"<>\" with \"/b\" between them to end the bolded text.</li>\r\n<li><b>For more project-specific instructions, please see the overview located <a href=\"https://fromthepage.com/woodruff/woodruff-documents-crowdsourcing-instructions\">here</a> and volunteer information located <a href=\"https://docs.google.com/document/d/1trCvhEv1g-LVvedy3xPdPYu4Epluh2BpBTQObx0WFx0/edit\">here</a>. For help using From the Page, click <a href=\"https://docs.google.com/document/d/10LTWIiPDsQE21awQuzoIJfLliyATKKASYBqtWRFkYDI/edit?ts=60b12727\">here</a>.</b></li> \r\n</ul>", "supports_translation"=>"0", "translation_instructions"=>"", "author"=>"", "location_of_composition"=>"", "document_date"=>"", "genre"=>"", "source_location"=>"", "source_collection_name"=>"", "source_box_folder"=>"", "in_scope"=>"1", "editorial_notes"=>"LE - 11736", "physical_description"=>"", "document_history"=>"", "permission_description"=>""}, "button"=>"", "id"=>"25000787"}

@saracarl
Copy link
Collaborator Author

And then when we redirect, we send them to the "bad" one:

I, [2022-04-16T14:03:14.468975 #28823]  INFO -- : Redirected to https://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-1be24ced-3117-437c-ae8b-06e6fe1d71ca/edit

@benwbrum
Copy link
Owner

It looks like this happened because there was an FDP work with a numeric slug whose value matched the ID of the WWP work. We fetched the work by slug instead of by ID, then applied the attributes in the edit form (including collection_id) to the wrong work.

@saracarl
Copy link
Collaborator Author

Email to customer:

So this is definitely a bug in FromThePage, most likely from some changes we deployed last week that check work titles when they are created or updated.

The good news: You haven't lost any transcriptions or page images. Here's the bad works, followed by links to the good ones:

Bad: https://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-joseph-l-heywood-and-edwin-d-woolley-letter-to-wilford-woodruff-original-93af9d73-c4b7-470c-bec7-fe971adb5270
Good: https://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-joseph-l-heywood-and-edwin-d-woolley-letter-to-wilford-woodruff-original

Bad: https://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original-c585f364-2bdc-4429-acbf-a7d3fb0517a3
Good: https://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-eli-b-kelsey-letter-to-wilford-woodruff-original

We can see from the logs that you changed the titles of these works to include your identifier (i.e. you went from "Letter from Eli B. Kelsey, 19 December 1849" to "Letter from Eli B. Kelsey, 19 December 1849 [LE - 11736]")

What's interesting is that other works that you changed the title on (see Letter to Brigham Young and Council, 15 February 1849 [LE - 11720]) don't have this problem.

We're still tracking down the cause of the problem. What would help is for us to know if you changed/edited/added anything else at the same time you changed the title.

Once we figure this out we'll help you identify any other possible problem works (I think looking for titles that start the same would do it) and/or remediate the problem. We'll also write a test case (that's automatically run in multiple stages of our development process) to make sure updating works won't cause this problem again.

@saracarl
Copy link
Collaborator Author

Next email to customer:

We've identified the cause of the problem. Stay with me here, because the explanation is a bit complicated:

  1. Works have what we call "slugs" -- their title turned into the end of the URL. So for
    https://fromthepage.com/woodruff/woodruffpapers/ms-1352-b0006-f0017-joseph-l-heywood-and-edwin-d-woolley-letter-to-wilford-woodruff-original
    The slug is ms-1352-b0006-f0017-joseph-l-heywood-and-edwin-d-woolley-letter-to-wilford-woodruff-original.
    You can also update the slug to be something unrelated to the title.

  2. Works also have internal identifiers in FromThePage. The Heywood and Woolley letter's identifer is :id => 25000788

More importantly, there was a work in the Frederick Douglass Papers Project with the following slug:
:slug => "25000788",

  1. When we said "please look up the work & update it for ID "25000788", we actually got the FDP work with a slug of "25000788", and updated that work to have your new title and moved it to your collection (because it looked like the collection had changed as well).

The code change I mentioned from last week didn't actually introduce this problem -- it's been going on for a long time, but it only shows up when slugs & ID collide. The code change was actually to fix the problem (which was causing issues elsewhere) -- we're not allowing numeric slugs for works anymore. (We append a work- to the slug, like: "work-25000788")

The fix for this was small, and it's currently being tested before we deploy it. We're looking at the data to remediate and will let you know when that is done.

@saracarl saracarl linked a pull request Apr 22, 2022 that will close this issue
@benwbrum
Copy link
Owner

No other works appear to have this problem.

@benwbrum
Copy link
Owner

Two problem works were remediated.

@saracarl
Copy link
Collaborator Author

@sylvieed This would be a good issue to review (as education/exposure) since you're familiar with the functionality that bit us here!

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