-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: analysis-model
-
None
-
Environment:jenkins 2.387.1
warnings-ng 10.0.2
we are using warnings-ng plugin on jenkins to visualize the result of IntelliJ-Idea-Inspections. Our observation:
- jobs, which reported inspection-results with an older version of the plugin, still allow sorting for module/package/file/categories/issues.
- jobs, which report inspection-results with version 10.0.2 of the plugin, don't allow sorting for module anymore - only for package/file/categories/issues.
- the provided information (input for the plugin as xml-file) is identical.
Â
Problem imho is in the file idea-outstanding-issues.xml,Â
old (with ability to sort for modules):
<analysisReport plugin="analysis-model-api@10.21.0"> ... <subReports> Â Â <analysisReport> Â Â ... Â Â <elements class="linked-hash-set"> Â Â Â Â <issue> Â Â Â Â ... {color:#de350b}Â Â Â Â Â <moduleName>base-ls</moduleName>{color}
     Â
new (without ability for sort for modules):
<analysisReport plugin="analysis-model-api@11.0.0"> ... <subReports> Â Â <analysisReport> Â Â ... Â Â <elements class="linked-hash-set"> Â Â Â Â <issue> Â Â Â Â ... {color:#de350b}Â Â Â Â Â <moduleName>-</moduleName>{color}
the module probably gets parsed from the provided xml-files for each entry:
<problems> <problem> Â ... Â <module>KIXCustomer.base-ls.main</module> Â ... </problem>
assumptions:
- as the module information is '-' for all entries, sorting for modules is not a valid option, therefore there is no button.
- problem is in parsing module-information from input file.
Â
we would be glad, if sorting for modules is possible again.
Â
- links to