Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Table rendering breaks on subsequent runs #119

Open
ncautotest opened this issue Mar 6, 2023 · 0 comments
Open

Table rendering breaks on subsequent runs #119

ncautotest opened this issue Mar 6, 2023 · 0 comments

Comments

@ncautotest
Copy link

ncautotest commented Mar 6, 2023

Description

Subsequent runs of scripts containing table{..} breaks the UI.

Steps to reproduce

  1. Run the following groovy script:
table {
    columns('Path', 'Title', 'Status')
    rows([
            ['/', 'first', 'good'],
            ['/content', 'second', 'none']
        ])
}
  1. Re-run the same script a second, third, fourth time...

Actual result

On subsequent runs extra column headers are added to the table:

image

NOTE: depending on the table shape the table might not be rendered at all unless the page is refreshed. Also combining table {} statements with println(...) intermittently results in the table not being displayed.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant