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

Extra <i character in archived MUR ORC text causing display issue #3090

Closed
4 tasks done
lbeaufort opened this issue Apr 27, 2018 · 2 comments
Closed
4 tasks done

Extra <i character in archived MUR ORC text causing display issue #3090

lbeaufort opened this issue Apr 27, 2018 · 2 comments
Assignees
Milestone

Comments

@lbeaufort
Copy link
Member

lbeaufort commented Apr 27, 2018

@lbeaufort commented on Wed Mar 14 2018

Some MURs aren't being displayed properly in the datatable results. They should all line up in a grid.

Example: https://www.fec.gov/data/legal/search/murs/?search=&mur_respondents=Nevada%20NOW&offset=20#results-murs

Screenshot:
screen shot 2018-03-14 at 3 06 21 pm

I think this might have to do with https://github.com/fecgov/fec-cms/blob/develop/fec/legal/templates/partials/legal-search-results-mur.jinja


@lbeaufort commented on Thu Apr 26 2018

Update: The OCR text for one archived MUR contained the characters <i which the browser was interpreting as an <i> HTML tag:

<i ~="" 3xp.uditiae.="" <em="">
</i>

(Search results show this MUR with the "3xp.uditiae" text)

Thank you @vrajmohan for your great detective work on this one!

Because archived MURs are static and OCR'd by our team, the plan for now is to manually update the archived MUR text with an Elasticsearch PUT request: curl -XPUT $URI/.../mur_2934 -d @file_name but if this continues to be a problem we might want to explore a systematic approach..

@lbeaufort lbeaufort changed the title MUR search results sometimes being formatted incorrectly Extra <i character in archived MUR ORC text causing display issue Apr 27, 2018
@lbeaufort lbeaufort self-assigned this Apr 30, 2018
@lbeaufort lbeaufort added this to the Sprint 5.5 milestone Apr 30, 2018
@lbeaufort
Copy link
Member Author

Update: still waiting on outstanding issues in the dev environment to sync up environments by making the manual fix

@lbeaufort lbeaufort modified the milestones: Sprint 5.5, Sprint 5.6 May 15, 2018
@lbeaufort
Copy link
Member Author

Updated all environments, made backups

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant