Community
Participate
Working Groups
Source based, v_825. Because (ProblemSeverities.Ignore & ProblemSeverities.Fatal) != 0, getProblemCategory behaves as if passed ProblemSeverities.Fatal when it is passed ProblemSeverities.Ignore (basically, this implies returning CategorizedProblem.CAT_INTERNAL instead of irritant-based categories), which is probably not the desired behavior. Instead of fixing the getProblemCategory method only, we may consider using another, better value for Ignore itself. This would have the advantage of realigning with ProblemSeverities' doc, which states that when the bit for int value 128 is set then we have a fatal error (Ignore currently sets that bit, and is eventually not qualifying a fatal error). But that may need a careful visit of our code wherever ProblemSeverities constants are used.
Created attachment 142317 [details] Proposed fix
Released for 3.6M1. Code review is required to verify.
Verified for 3.6M1 by code inspection