Script result page lacks pagination controls for long logs
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 65/100
Direzione di ricerca
Start with the script result view, where the log table is configured for pagination but rendered without a paginator, and with the automatic refresh logic that drops the page and page size parameters. Reproduce with a script that logs 60 lines and confirm the log stops at 50 with no controls. Done when the paginator appears, ?page=2 shows the remaining entries, and the selected page and page size survive an automatic refresh.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Plugin Version
v0.2.0
NetBox Version
v4.7.6
Python Version
3.12
Steps to Reproduce
- Upload and activate a Project containing a Script File, for example
deploy.py:from netbox_scripts import Script class Chatty(Script): def run(self, data, commit): for number in range(1, 61): self.log_info(f'Line {number}') - Run the Script from its Run tab with the default page size of 50.
- Inspect the log on the result page after the run completes.
Expected Behavior
All log entries are accessible through pagination controls, consistent with NetBox's built-in Script result page.
The selected page and page size are preserved during automatic refreshes.
Observed Behavior
The log stops after Line 50 without displaying pagination controls or indicating that additional entries exist.
Manually appending ?page=2 to the URL displays the remaining ten entries.
This can hide important messages at the end of longer runs, including failure reasons and database rollback messages.
The result view configures a paginated table but renders it without a paginator. Automatic refreshes also discard pagination parameters.
Related to #153, but independent of the Job-level log messages addressed there.
- Lingua principale
- Python
- Stelle
- 9
- Fork
- 0
- Merge medio
- 18h 59m
- PR unite (30g)
- 93
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di netbox-community/netbox-scripts
-
app: scripts Bucket: KTLO status: backlog type: housekeeping
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
netbox-community/netbox-scripts#281 ·
I maintainer di solito rispondono entro 1 giorno
-
app: scripts Bucket: Improve complexity: low status: backlog type: feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
netbox-community/netbox-scripts#244 ·
I maintainer di solito rispondono entro 1 giorno
-
Correct the documentation of a Project's current revisionForse già presa @pheus l’ha presa oggi. Apertaapp: scripts Bucket: KTLO status: accepted type: documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
netbox-community/netbox-scripts#233 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
app: scripts complexity: medium status: backlog type: feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
netbox-community/netbox-scripts#229 ·
I maintainer di solito rispondono entro 1 giorno
-
app: scripts status: backlog type: housekeeping
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
netbox-community/netbox-scripts#228 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di netbox-community/netbox-scripts
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
plone/plone.observability#114 ·
I maintainer di solito rispondono entro 1 giorno
-
area:docs type:docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
jejjohnson/gauss_flows#246 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
openvax/varcode#824 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Add SAS as a cable typeApertanetbox status: needs triage type: feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
netbox-community/netbox#23868 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
emeryberger/CSrankings#15757 ·
I maintainer di solito rispondono entro 9 giorni