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

"Mark Blank" checkbox can be clicked accidentally, blanking transcripts #3702

Closed
benwbrum opened this issue Jul 13, 2023 · 2 comments · Fixed by #3714
Closed

"Mark Blank" checkbox can be clicked accidentally, blanking transcripts #3702

benwbrum opened this issue Jul 13, 2023 · 2 comments · Fixed by #3714
Assignees

Comments

@benwbrum
Copy link
Owner

Edits that created the transcripts:

First edit in production.log.1

I, [2023-07-12T18:17:21.946461 #22582]  INFO -- : Started PATCH "/nehgsadmin007/divided-hearts-ma-loyalists-1765-1790/review/one_off/33116430" for 67.165.108.46 at 2023-07-12 18:17:21 +0000
I, [2023-07-12T18:17:21.948236 #22582]  INFO -- : Processing by TranscribeController#save_transcription as HTML
I, [2023-07-12T18:17:21.948500 #22582]  INFO -- :   Parameters: {"authenticity_token"=>"17V67YJS86o4AhHbDsZgNtWnk1Q3vYhs6rVydGslftBfBpcc1fPxvx1Ux9oiyjJZvgLI5qk2tQznH4aooSPzZA==", "page_id"=>"33116430", "flow"=>"", "quality_sampling_id"=>"", "page"=>{"mark_blank"=>"0"}, "save_to_incomplete"=>"", "filter-brightness"=>"0", "filter-contrast"=>"0", "filter-threshold"=>"0", "fields"=>{"5342"=>{"Indexing Spreadsheet"=>"[[null,null,null,\"LOVELL\",\"Shubael\",\"Residence\",null,null,null,null,null,null,\"Barnstable\",\"Barnstable\",\"Massachusetta\",\"United States\",null,null],[null,null,1775,\"LOVELL\",\"Shubael\",\"Court Record\",null,null,null,null,null,null,null,null,null,null,null,null],[null,null,1775,\"LOVELL\",\"Shubael\",\"Court Record\",null,null,null,null,null,null,null,null,null,null,null,null],[\"3\",\"17\",1776,\"LOWE\",\"Charles\",\"Military Record\",null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]]"}}, "user_slug"=>"nehgsadmin007", "collection_id"=>"divided-hearts-ma-loyalists-1765-1790"}
I, [2023-07-12T18:17:21.976237 #22582]  INFO -- : TRANSCRIPTION 2023-07-12 18:17:21 +0000
TRANSCRIPTION   User    ID: 32016179    Email: bklyn186342@gmail.com    Display Name: GaleStevenson
TRANSCRIPTION   Collection      ID: 32000584    Title:Divided Hearts MA Loyalists 1765-1790     Owner Email: webmaster@nehgs.org
TRANSCRIPTION   Work    ID: 32058347    Title: DIVIDED HEARTS MA LOYALISTS 1765-1790
TRANSCRIPTION   Page    ID: 33116430    Position: 3     Title:DHML_0_100
TRANSCRIPTION   Source Text:
BEGIN_SOURCE_TEXT
{"5342"=>
  {"Indexing Spreadsheet"=>
    "[[null,null,null,\"LOVELL\",\"Shubael\",\"Residence\",null,null,null,null,null,null,\"Barnstable\",\"Barnstable\",\"Massachusetta\",\"United States\",null,null],[null,null,1775,\"LOVELL\",\"Shubael\",\"Court Record\",null,null,null,null,null,null,null,null,null,null,null,null],[null,null,1775,\"LOVELL\",\"Shubael\",\"Court Record\",null,null,null,null,null,null,null,null,null,null,null,null],[\"3\",\"17\",1776,\"LOWE\",\"Charles\",\"Military Record\",null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]]"}}

END_SOURCE_TEXT


I, [2023-07-12T18:17:22.075621 #22582]  INFO -- : TRANSCRIPTION 2023-07-12 18:17:21 +0000       SUCCESS 

Second edit

I, [2023-07-12T18:21:52.279186 #22605]  INFO -- : Started PATCH "/nehgsadmin007/divided-hearts-ma-loyalists-1765-1790/review/one_off/33116430" for 67.165.108.46 at 2023-07-12 18:21:52 +0000
I, [2023-07-12T18:21:52.280991 #22605]  INFO -- : Processing by TranscribeController#save_transcription as HTML
I, [2023-07-12T18:21:52.281307 #22605]  INFO -- :   Parameters: {"authenticity_token"=>"3Zl7Aa6p4I5R5EFSgtCaAMHWU9aH19juNJaUIZG2KnVVKpbw+Qjim3Syl1Ou3MhvqnMIZBlc5Y45PGD9W7CnwQ==", "page_id"=>"33116430", "flow"=>"", "quality_sampling_id"=>"", "page"=>{"mark_blank"=>"0"}, "save_to_incomplete"=>"", "filter-brightness"=>"0", "filter-contrast"=>"0", "filter-threshold"=>"0", "fields"=>{"5342"=>{"Indexing Spreadsheet"=>"[[\"\",\"\",\"\",\"LOVELL\",\"Shubael\",\"Residence\",\"\",\"\",\"\",\"\",\"\",\"\",\"Barnstable\",\"Barnstable\",\"Massachusetta\",\"United States\",\"\",\"\"],[\"\",\"\",\"1775\",\"LOVELL\",\"Shubael\",\"Court Record\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"1775\",\"LOVELL\",\"Shubael\",\"Court Record\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"3\",\"17\",\"1776\",\"LOWE\",\"Charles\",\"Military Record\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[null,null,null,\"LOWELL\",\"John, Jr.\",\"Residence\",null,null,null,null,null,null,\"Boston\",\"Suffolk\",\"Massachusetts\",\"United States\",null,null],[null,null,null,\"LUSH\",\"George\",\"Residence\",null,null,null,null,null,null,\"Boston\",\"Suffolk\",\"Massachusetts\",\"United States\",null,null],[null,null,1776,\"LUSH\",\"George\",\"Court Record\",null,null,null,null,null,null,null,null,null,null,null,null],[null,null,1777,\"LUSH\",\"George\",\"Court Record\",null,null,null,null,null,null,null,null,null,null,null,null],[null,null,1777,\"LUSH\",\"George\",\"Military Record\",null,null,null,null,null,null,null,null,null,null,null,null],[null,null,1778,\"LUSH\",\"George\",\"Military Record\",null,null,null,null,null,null,null,null,null,null,null,null],[null,null,1778,\"LUSH\",\"George\",\"Court Record\",null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]]"}}, "user_slug"=>"nehgsadmin007", "collection_id"=>"divided-hearts-ma-loyalists-1765-1790"}
I, [2023-07-12T18:21:52.321195 #22605]  INFO -- : TRANSCRIPTION 2023-07-12 18:21:52 +0000
TRANSCRIPTION   User    ID: 32016179    Email: bklyn186342@gmail.com    Display Name: GaleStevenson
TRANSCRIPTION   Collection      ID: 32000584    Title:Divided Hearts MA Loyalists 1765-1790     Owner Email: webmaster@nehgs.org
TRANSCRIPTION   Work    ID: 32058347    Title: DIVIDED HEARTS MA LOYALISTS 1765-1790
TRANSCRIPTION   Page    ID: 33116430    Position: 3     Title:DHML_0_100
TRANSCRIPTION   Source Text:
BEGIN_SOURCE_TEXT
{"5342"=>
  {"Indexing Spreadsheet"=>
    "[[\"\",\"\",\"\",\"LOVELL\",\"Shubael\",\"Residence\",\"\",\"\",\"\",\"\",\"\",\"\",\"Barnstable\",\"Barnstable\",\"Massachusetta\",\"United States\",\"\",\"\"],[\"\",\"\",\"1775\",\"LOVELL\",\"Shubael\",\"Court Record\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"1775\",\"LOVELL\",\"Shubael\",\"Court Record\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"3\",\"17\",\"1776\",\"LOWE\",\"Charles\",\"Military Record\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[null,null,null,\"LOWELL\",\"John, Jr.\",\"Residence\",null,null,null,null,null,null,\"Boston\",\"Suffolk\",\"Massachusetts\",\"United States\",null,null],[null,null,null,\"LUSH\",\"George\",\"Residence\",null,null,null,null,null,null,\"Boston\",\"Suffolk\",\"Massachusetts\",\"United States\",null,null],[null,null,1776,\"LUSH\",\"George\",\"Court Record\",null,null,null,null,null,null,null,null,null,null,null,null],[null,null,1777,\"LUSH\",\"George\",\"Court Record\",null,null,null,null,null,null,null,null,null,null,null,null],[null,null,1777,\"LUSH\",\"George\",\"Military Record\",null,null,null,null,null,null,null,null,null,null,null,null],[null,null,1778,\"LUSH\",\"George\",\"Military Record\",null,null,null,null,null,null,null,null,null,null,null,null],[null,null,1778,\"LUSH\",\"George\",\"Court Record\",null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]]"}}

END_SOURCE_TEXT


I, [2023-07-12T18:21:52.395549 #22605]  INFO -- : TRANSCRIPTION 2023-07-12 18:21:52 +0000       SUCCESS 

Third patch

I, [2023-07-12T18:27:33.944249 #22582]  INFO -- : Started PATCH "/nehgsadmin007/divided-hearts-ma-loyalists-1765-1790/review/one_off/33116430" for 67.165.108.46 at 2023-07-12 18:27:33 +0000
I, [2023-07-12T18:27:33.945793 #22582]  INFO -- : Processing by TranscribeController#save_transcription as HTML
I, [2023-07-12T18:27:33.946074 #22582]  INFO -- :   Parameters: {"authenticity_token"=>"FyyKfySMguj6sgpZE4puLXF6RR3fD8CV65ozI9IduyOfn2eOcy2A/d/k3Fg/hjxCGt8er0GE/fXmMMf/GBs2lw==", "page_id"=>"33116430", "flow"=>"", "quality_sampling_id"=>"", "page"=>{"mark_blank"=>"1"}, "save_to_incomplete"=>"", "filter-brightness"=>"0", "filter-contrast"=>"0", "filter-threshold"=>"0", "fields"=>{"5342"=>{"Indexing Spreadsheet"=>"[[\"\",\"\",\"\",\"LOVELL\",\"Shubael\",\"Residence\",\"\",\"\",\"\",\"\",\"\",\"\",\"Barnstable\",\"Barnstable\",\"Massachusetta\",\"United States\",\"\",\"\"],[\"\",\"\",\"1775\",\"LOVELL\",\"Shubael\",\"Court Record\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"1775\",\"LOVELL\",\"Shubael\",\"Court Record\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"3\",\"17\",\"1776\",\"LOWE\",\"Charles\",\"Military Record\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"LOWELL\",\"John, Jr.\",\"Residence\",\"\",\"\",\"\",\"\",\"\",\"\",\"Boston\",\"Suffolk\",\"Massachusetts\",\"United States\",\"\",\"\"],[\"\",\"\",\"\",\"LUSH\",\"George\",\"Residence\",\"\",\"\",\"\",\"\",\"\",\"\",\"Boston\",\"Suffolk\",\"Massachusetts\",\"United States\",\"\",\"\"],[\"\",\"\",\"1776\",\"LUSH\",\"George\",\"Court Record\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"1777\",\"LUSH\",\"George\",\"Court Record\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"1777\",\"LUSH\",\"George\",\"Military Record\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"1778\",\"LUSH\",\"George\",\"Military Record\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"1778\",\"LUSH\",\"George\",\"Court Record\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[null,null,null,\"LUTCHWICK\",\"Edward\",\"Residence\",null,null,null,null,null,null,\"Litchfield\",\"Hillsborough\",\"New Hampshire\",\"United States\",null,null],[null,null,1781,\"LUTCHWICK\",\"Edward\",\"Court Record\",null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,\"Boston\",\"Suffolk\",\"Massachusetts\",\"United States\",null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]]"}}, "user_slug"=>"nehgsadmin007", "collection_id"=>"divided-hearts-ma-loyalists-1765-1790"}
I, [2023-07-12T18:27:34.045538 #22582]  INFO -- :   Rendered deed/_deed.html.slim (Duration: 1.1ms | Allocations: 453)
I, [2023-07-12T18:27:34.046866 #22582]  INFO -- :   Rendered deed/_deed.html.slim (Duration: 0.6ms | Allocations: 402)
I, [2023-07-12T18:27:34.048167 #22582]  INFO -- :   Rendered deed/_deed.html.slim (Duration: 0.7ms | Allocations: 401)
I, [2023-07-12T18:27:34.049426 #22582]  INFO -- :   Rendered deed/_deed.html.slim (Duration: 0.7ms | Allocations: 400)
I, [2023-07-12T18:27:34.050740 #22582]  INFO -- :   Rendered deed/_deed.html.slim (Duration: 0.8ms | Allocations: 401)
I, [2023-07-12T18:27:34.052281 #22582]  INFO -- :   Rendered deed/_deed.html.slim (Duration: 0.7ms | Allocations: 478)
I, [2023-07-12T18:27:34.053486 #22582]  INFO -- :   Rendered deed/_deed.html.slim (Duration: 0.6ms | Allocations: 447)
I, [2023-07-12T18:27:34.054838 #22582]  INFO -- :   Rendered deed/_deed.html.slim (Duration: 0.8ms | Allocations: 445)
I, [2023-07-12T18:27:34.056135 #22582]  INFO -- :   Rendered deed/_deed.html.slim (Duration: 0.7ms | Allocations: 445)
I, [2023-07-12T18:27:34.057463 #22582]  INFO -- :   Rendered deed/_deed.html.slim (Duration: 0.8ms | Allocations: 445)


I, [2023-07-12T18:27:34.498379 #22582]  INFO -- : Redirected to https://fromthepage.com/nehgsadmin007/divided-hearts-ma-loyalists-1765-1790/divided-hearts-ma-loyalists-1765-1790/transcribe/33116430
I, [2023-07-12T18:27:34.503936 #22582]  INFO -- : Completed 302 Found in 558ms (ActiveRecord: 405.8ms | Allocations: 177790)
I, [2023-07-12T18:27:34.504331 #22582]  INFO -- : Oink Action: transcribe#save_transcription
I, [2023-07-12T18:27:34.504504 #22582]  INFO -- : Memory usage: 3037872 | PID: 22582
I, [2023-07-12T18:27:34.504645 #22582]  INFO -- : Instantiation Breakdown: Total: 304 | TableCell: 252 | SpreadsheetColumn: 18 | Page: 7 | Work: 7 | FriendlyId::Slug: 4 | Collection: 3 | PageVersion: 3 | WorkStatistic: 3 | User: 2 | PageBlock: 1 | TranscriptionField: 1 | Deed: 1 | Visit: 1 | Ahoy::Event: 1
I, [2023-07-12T18:27:34.504768 #22582]  INFO -- : Oink Log Entry Complete

Fourth and problem edit

I, [2023-07-12T18:28:22.316716 #22582]  INFO -- : Started PATCH "/nehgsadmin007/divided-hearts-ma-loyalists-1765-1790/review/one_off/33116430" for 67.165.108.46 at 2023-07-12 18:28:22 +0000
I, [2023-07-12T18:28:22.318196 #22582]  INFO -- : Processing by TranscribeController#save_transcription as HTML
I, [2023-07-12T18:28:22.318418 #22582]  INFO -- :   Parameters: {"authenticity_token"=>"KQBAsIItDeATMF+573TFn42OW0dXU6YOgOSKwOHuXyWhs61B1YwP9TZmibjDeJfw5isA9cnYm26NTn4cK+jSkQ==", "page_id"=>"33116430", "flow"=>"", "quality_sampling_id"=>"", "page"=>{"mark_blank"=>"0", "source_text"=>"<table class=\"tabular\"><thead><th>Month </th><th>Date</th><th>Year</th><th>LAST NAME</th><th>First Name</th><th>Record Type</th><th>Father's Last Name</th><th>Father's First Name</th><th>Mother's Last Name</th><th>Mother's First Name</th><th>Spouses Last Name</th><th>Spouses First Name</th><th>City</th><th>County</th><th>State</th><th>Country</th><th>Original Text</th><th>Notes</th></thead><tbody><tr><td></td><td></td><td></td><td>LOVELL</td><td>Shubael</td><td>Residence</td><td></td><td></td><td></td><td></td><td></td><td></td><td>Barnstable</td><td>Barnstable</td><td>Massachusetta</td><td>United States</td><td></td><td></td></tr><tr><td></td><td></td><td>1775</td><td>LOVELL</td><td>Shubael</td><td>Court Record</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td>1775</td><td>LOVELL</td><td>Shubael</td><td>Court Record</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>3</td><td>17</td><td>1776</td><td>LOWE</td><td>Charles</td><td>Military Record</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td>LOWELL</td><td>John, Jr.</td><td>Residence</td><td></td><td></td><td></td><td></td><td></td><td></td><td>Boston</td><td>Suffolk</td><td>Massachusetts</td><td>United States</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td>LUSH</td><td>George</td><td>Residence</td><td></td><td></td><td></td><td></td><td></td><td></td><td>Boston</td><td>Suffolk</td><td>Massachusetts</td><td>United States</td><td></td><td></td></tr><tr><td></td><td></td><td>1776</td><td>LUSH</td><td>George</td><td>Court Record</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td>1777</td><td>LUSH</td><td>George</td><td>Court Record</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td>1777</td><td>LUSH</td><td>George</td><td>Military Record</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td>1778</td><td>LUSH</td><td>George</td><td>Military Record</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td>1778</td><td>LUSH</td><td>George</td><td>Court Record</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td>LUTCHWICK</td><td>Edward</td><td>Residence</td><td></td><td></td><td></td><td></td><td></td><td></td><td>Litchfield</td><td>Hillsborough</td><td>New Hampshire</td><td>United States</td><td></td><td></td></tr><tr><td></td><td></td><td>1781</td><td>LUTCHWICK</td><td>Edward</td><td>Court Record</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>Boston</td><td>Suffolk</td><td>Massachusetts</td><td>United States</td><td></td><td></td></tr></tbody></table>"}, "preview"=>"", "filter-brightness"=>"0", "filter-contrast"=>"0", "filter-threshold"=>"0", "user_slug"=>"nehgsadmin007", "collection_id"=>"divided-hearts-ma-loyalists-1765-1790"}
I, [2023-07-12T18:28:22.564957 #22582]  INFO -- : Redirected to https://fromthepage.com/nehgsadmin007/divided-hearts-ma-loyalists-1765-1790/divided-hearts-ma-loyalists-1765-1790/transcribe/33116430
I, [2023-07-12T18:28:22.571812 #22582]  INFO -- : Completed 302 Found in 253ms (ActiveRecord: 176.2ms | Allocations: 128827)
I, [2023-07-12T18:28:22.572080 #22582]  INFO -- : Oink Action: transcribe#save_transcription
I, [2023-07-12T18:28:22.572257 #22582]  INFO -- : Memory usage: 3037872 | PID: 22582
I, [2023-07-12T18:28:22.572399 #22582]  INFO -- : Instantiation Breakdown: Total: 19 | Page: 3 | Work: 3 | Collection: 3 | User: 2 | PageVersion: 2 | WorkStatistic: 2 | PageBlock: 1 | FriendlyId::Slug: 1 | Visit: 1 | Ahoy::Event: 1
I, [2023-07-12T18:28:22.572518 #22582]  INFO -- : Oink Log Entry Complete
@benwbrum
Copy link
Owner Author

It looks like the third edit did not redirect the user through the normal assign_categories action after the save, which might be a clue. Note that it also did not record the TRANSCRIPTION debugging statements, which makes me think there might have been an exception caught or a different path.

Time Action Collection Work Page
18:09:16 collection#show Divided Hearts MA Loyalists 1765-1790    
18:09:27 transcribe#display_page Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:14:35 collection#show Divided Hearts MA Loyalists 1765-1790    
18:14:42 transcribe#display_page Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:17:22 transcribe#save_transcription Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:17:22 transcribe#assign_categories Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:17:22 transcribe#display_page Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:21:52 transcribe#save_transcription Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:21:53 transcribe#assign_categories Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:21:53 transcribe#display_page Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:27:34 transcribe#save_transcription Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:27:34 transcribe#display_page Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:28:22 transcribe#save_transcription Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:28:22 transcribe#display_page Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:29:10 page_version#list Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:30:11 transcribe#help Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:30:43 transcribe#display_page Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:30:51 page_version#list Divided Hearts MA Loyalists 1765-1790 DIVIDED HEARTS MA LOYALISTS 1765-1790 DHML_0_100
18:30:58 user#profile  

@benwbrum
Copy link
Owner Author

We've determined that this happens when the user clicks "mark as blank" while submitting their transcript. We should add a confirmation dialog (JS is fine) whenever the transcription page is saved with both data (from fields or codemirror or handsontable) and the "mark as blank" check, saying: "This page has transcribed text but you are marking it as blank. Do you want to continue?"

@benwbrum benwbrum changed the title Spreadsheet transcription loses table cells "Mark Blank" checkbox can be clicked accidentally, blanking transcripts Jul 18, 2023
@benwbrum benwbrum linked a pull request Jul 20, 2023 that will close this issue
benwbrum added a commit that referenced this issue Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants