Active
Project:
XML sitemap
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Jul 2023 at 10:09 UTC
Updated:
19 Jul 2023 at 07:12 UTC
Jump to comment: Most recent
I'm runing sonarqube in a project an this issue came as critical:
Invalid typeof comparison value
It apperas to be a typo on line 373 of jquery.tablesorter.js
Proposed resolution
Correct the typo
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #5
carlitus commentedI think i've done something wrong. When i try to make the merge request i don't see any form to select the branch and i closed the merge request because it was made to 8 version.
A then i find a way to create another merge request to 7 branch.
And this MR seems ok:
https://git.drupalcode.org/project/xmlsitemap/-/merge_requests/34
Comment #6
poker10 commentedThanks for working on this.
Do we need to fix this also in
jquery.tablesorter.min.js? Because there is the same comparision used. Anyway it seems like a valid bug report, as in the oldest version of the library, I was able to find: https://github.com/Mottie/tablesorter/blame/v2.0.6/js/jquery.tablesorter.js , the comparision is!==.. The module is using 2.0.3 and I was able to find only 2.0.6 on github.Comment #7
carlitus commentedHi,
I have made the same change in the js as in the min.js.
You say I should only have done it in the js?