-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Closed
Copy link
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
Deployment Type
Self-hosted
NetBox Version
4.0.5
Python Version
3.11
Steps to Reproduce
Create a custom script that logs at least 500 messages, such as the attached:
from extras.scripts import *
class CreateMessagesScript(Script):
class Meta:
name = "Show Message Pagination"
description = "Generate over 500 messages"
def run(self, data, commit):
for i in range(1,555):
self.log_success(i)
output=[]
return '\n'.join(output)
Execute the script
Page through the output. For each page that is viewed, rendered page elements around the log table are duplicated.
Expected Behavior
Paging through logs should not impact static page elements surrounding the output table
Observed Behavior
The "output" box is duplicated
and so are elements above the log table, such as the script status, runtime, etc

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