Skip to content

Unexpected Page Breaks in Widget Table Rendering #17364

@opericgithub

Description

@opericgithub

Deployment Type

Self-hosted

NetBox Version

v4.1.0

Python Version

3.10

Steps to Reproduce

I've encountered an issue with how widget tables are rendered in NetBox v4.1 compared to v3.7. Specifically, I'm experiencing unexpected page breaks that cause the table content to disintegrate, which disrupts the proper display of journal entries.
I've attached screenshots of both versions to illustrate the issue.

NetBox Version 3.7:

I have two journal entries displayed in a widget.
In the first entry, there is some text followed by a table with headers and values.
In the second entry, there is only text without a table.
Everything renders correctly, with the first entry displaying the text and the table beneath it, and the second entry showing the text as expected.

image

NetBox Version 4.1:

With the same two journal entries, the content now breaks unexpectedly.
The text of the first entry is displayed correctly until the table header, but then it suddenly breaks.
The second entry displays the text correctly, but the table content from the first entry appears below it, partially rendering the table with headers and values.

image

Steps to Reproduce:

  1. Create two journal entries in a widget.
  2. Ensure the first entry has text followed by a table with headers and values.
  3. Observe the rendering differences between NetBox v3.7 and v4.1.

Expected Behavior

The journal entries should render consistently, with tables staying intact under the corresponding text without unexpected breaks, as it was in NetBox v3.7.

Observed Behavior

In NetBox v4.1, the page breaks disrupt the table rendering, causing it to disintegrate and misalign with the journal entry.

Please let me know if you need any further details or additional information.

Thank you!

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions