Skip to content

Check 01: Wrong position ist reported in classes #1179

@BiberM

Description

@BiberM

Symptoms:
In newer S/4HANA systems:

  • Error in check run
  • ASSSERTION_FAILED

In all systems:
exemption or baseline not valid for a finding of Check 01

Reason
The lookup of the statement after a finding has been identified reads the statement table with an incomplete key.
In Report sources there is mainly one level but in classes every method is an own level and row numbers are valid only within this method. So the search for the statement only by the row number can fit every level.
If that found statement then is of type e.g. pragma the checksum calculation will exit with an assertion error.

Solution
The read for the statement now uses the combination of level and row number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions