freelawproject / recap

This repository is for filing issues on any RECAP-related effort.
https://free.law/recap/
12 stars 4 forks source link

Unusual HTML page getting uploaded by RECAP as document history page #364

Open sentry-io[bot] opened 5 months ago

sentry-io[bot] commented 5 months ago

The latest errors in this issue appear to be related to the same docket, which doesn't seem to have a valid docket history report format. As a result, the parser returns null fields.

Sentry Issue: COURTLISTENER-5P2

ValidationError: 'docket_number' cannot be Null or empty in RECAP dockets.
(11 additional frame(s) were not displayed)
...
  File "cl/recap/views.py", line 65, in perform_create
    await asyncio.shield(recap_upload_task)
  File "cl/recap/tasks.py", line 121, in process_recap_upload
    docket = await process_recap_docket_history_report(pq.pk)
  File "cl/recap/tasks.py", line 851, in process_recap_docket_history_report
    await d.asave()
  File "cl/search/models.py", line 847, in save
    raise ValidationError(

Screenshot 2024-01-30 at 18 28 16

Filed by: @albertisfu

mlissner commented 5 months ago

That's a new one. Yeah, let's make sure the extension doesn't upload these in the future. Transferring issue to recap.