Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1830 Verification & Validation: Management for the issue reporting
  3. DROOLS-1861

Verification reporting: Missing range explanation points to incorrect row

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.CR2
    • 7.0.0.Beta7
    • None

      When the table contains Missing Range Issue, then the explanation has incorrect row number. See the attached screenshot. There are correct affected rows, but incorrect row number in the explanation.

      It is caused because in explanation is added 1:
      https://github.com/kiegroup/drools-wb/blob/master/drools-wb-services/drools-wb-verifier/drools-wb-verifier-api/src/main/java/org/drools/workbench/services/verifier/api/client/reporting/ExplanationProvider.java#L136-L141

      While there is correct row number already during issue creation:
      https://github.com/kiegroup/drools-wb/blob/master/drools-wb-services/drools-wb-verifier/drools-wb-verifier-core/src/main/java/org/drools/workbench/services/verifier/core/checks/RangeCheck.java#L136-L138

            rh-ee-jomarko Jozef Marko
            rh-ee-jomarko Jozef Marko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: