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

Cannot download bankruptcy claims with extension installed #234

Closed
mlissner opened this issue Jan 19, 2018 · 1 comment
Closed

Cannot download bankruptcy claims with extension installed #234

mlissner opened this issue Jan 19, 2018 · 1 comment

Comments

@mlissner
Copy link
Member

Thread starts here:

https://twitter.com/ihatetonyy/status/954468580782784512

The big issue is that due to our CSS selector failing on this page, the "View Document" button is unclickable and the item is thus undownloadable. This is not good.

@mlissner
Copy link
Member Author

You can reproduce this by going to case 17-13797, clicking on the "Claims Register" report link, then trying to pull up and subsequently download document 70.

The link for that document is:

https://ecf.caeb.uscourts.gov/doc1/032026913922

mlissner added a commit to freelawproject/recap-chrome that referenced this issue Jan 19, 2018
…port.

This came up when a user tried to view a bankruptcy claim document. These have a different receipt pages, which our regex failed to match. That regex is triggered by an event listener on the "View Document" so when that failed, it caused the button to fail and the download to be impossible. Not good.

The fix I put in here is to just make it so that we don't get claim documents. I don't think we want them anyway, at least not for now. There may be other types of documents that we don't know about and this should guard against those too.

Closes freelawproject/recap#234
mlissner added a commit to freelawproject/recap-chrome that referenced this issue Jan 22, 2018
Further addressing freelawproject/recap#234. Claims in bankruptcy cases
contain the word "Claim" instead of the word "Image". We don't yet (?)
support bankruptcy claims, so this code just identifies such pages as
not a document page and short circuits them. This way, none of our code
is run on those pages, and the behave as if RECAP is not installed.
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