Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ATC Priorities: SAP GUI vs SAPCLI #108

Open
lucasborin opened this issue Jun 13, 2023 · 5 comments
Open

ATC Priorities: SAP GUI vs SAPCLI #108

lucasborin opened this issue Jun 13, 2023 · 5 comments

Comments

@lucasborin
Copy link
Collaborator

lucasborin commented Jun 13, 2023

Given I have a class with a syntax error:
image

When I run the ATC via SAP GUI, it reports two entries:
image

However, when I run it via sapcli:
./sapcli atc run class z_borinlu_sapcli

It reports the same two ATCs, but the first finding has a distinct priority:
* 2 :: Test Environment (SLIN_UMFLD) :: Program contains syntax errors (0000)
* 2 :: ABAP Unit: Tests of Runtime Category "Short" (BC_AUNIT) :: Critical Error reported from test class (CRIT)

You can simulate it in the [CENSORED] (SAP internal).

Ps: It uses the default/standard checkman variant, and the user parameter is empty (the one that forces code inspector).

@lucasborin
Copy link
Collaborator Author

lucasborin commented Jun 13, 2023

In the profile dump:
./sapcli atc profile dump --checkman

... it came as Prio: 1:

"class": "CL_CHK_SLIN_CONS_ABAP",
"description": "Test Environment",
"note": "",
"priorities": {
  "0000": {
    "check_message_id": "0000",
    "default_prio": "1",
    "description": "Program contains syntax errors",
    "prio": "1"
  },

@lucasborin
Copy link
Collaborator Author

lucasborin commented Jun 13, 2023

Strangely, the system returned it as priority: 2:

image

@lucasborin
Copy link
Collaborator Author

@jfilak: any clue?

@jfilak
Copy link
Owner

jfilak commented Aug 3, 2023

@lucasborin Haven't you fixed this already?

@lucasborin
Copy link
Collaborator Author

Actually, I have not. If I call sapcli terminal (local), I see this divergence between the priorities. However, if I use the internal docker image, it is ok there.

As now I am using the docker img, and I do not see this problem anymore, feel free to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants