[Web:S6793] Issue with aria fields not having the correct type

Hello & happy new year !

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension): SonarQube server Enterprise v10.8.1 (101195)
  • how is SonarQube deployed: zip, Docker, Helm

After an analysis on a cshtml file, we are having some issue with aria attribute values not having the correct types:

To my understanding, the @Convert.ToInt32 method is supposed to make sure I have an integer in the aria attribute.

In this case though, I have the feeling that this method is considered as a string.

Would this be a false positive ?

Thanks & regards :kissing_heart:

Hello @Mikaciu,

thank you for reporting this. This is indeed an FP. We opened a ticket to fix this ASAP.

Cheers!
Victor

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.