Open uhafner opened 2 months ago
Can you create a simple test case showing the issue please so I can debug and resolve it please? I don't immediately see that error in the examples here, so there must be some configuration or setup that I'm missing.
Do you mean a standalone test case? Or something with the whole Jenkins setup that shows the problem in a running Jenkins instance?
A standalone test case that I can debug please. At the moment I'm not sure how I can see the issue.
Ok, I will give my best to create a standalone example.
One additional note, maybe this is relevant: the table is filled by an Ajax call. So the error occurs when the tables still is empty.
And an unrelated note on the example you linked above: there are two includes:
Is this correct?
Yes. The dataTables.responsive.js
one is the main file. The responsive.dataTables.js
one is more or less redundant for DataTables default styling, but if you switch to Bootstrap you would see it would change to responsive.bootstrap5.js
.
The "rules" for file names are codified here.
The download builder is the best way to make sure you get the code you need.
I packaged DataTables with the responsive module as a Jenkins DataTables Plugin so that Jenkins plugins can use DataTables in their views. The plugin deploys the following artifacts as a Jenkins plugin:
When I upgrade the dependency to
datatables.net-responsive
from 3.0.2 to 3.0.3 I get the following error:An example of a Jenkins view with DataTables (with
datatables.net-responsive
3.0.2) is visible in https://ci.jenkins.io/job/Plugins/job/coverage-model/job/main/lastSuccessfulBuild/coverage/When I downgrade to 3.0.2 then everything works again, so there seems to be an incompatible change in 3.0.3.
Please let me know when you need more details.