Skip to content

The HTML file doesn't work on large reports #1306

@isabelle-dr

Description

@isabelle-dr

Describe the bug

This was flagged by a user working at a GTFS consulting company.
It seems like when there is a high number of notices triggered, the HTML report doesn't respond well.
The dataset attached triggers 1000 instances of missing_timepoint_value and 55294 instances of equal_shape_distance_diff_coordinates. When I try to open details on one of these two, the file is either really slow, or breaks and gives me a blank error page.

Steps/Code to Reproduce

  • Run validator on the dataset provided.
  • Open the HTML file and try to open details for the missing_timepoint_value notice.
  • The report stops responding.

Expected Results

I am able to see the details of the notices.

Actual Results

Error, blank page.

Screenshots

No response

Files used

Westchester_County_Bee-Line_System-20220829T194048Z-e3571abf-0284-4b6d-8a3c-0a9f8dbd8d33-89455444-11e2-4cee-8d9e-7834adb84666.zip

Validator version

3.1.1

Operating system

Mac OS

Java version

No response

Additional notes

We should have an alternative when an occurrence is really high:

  • the user can see the total number of times the notice is triggered, and just show 20 rows in "details" as examples, with a clear mention that this is a sample only.

Metadata

Metadata

Labels

bugSomething isn't working (crash, a rule has a problem)status: Work in progressA PR that would close this issue has been opened.

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions