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

[BUG] GetCredentialStatus with invalid user index shows run time failure error #33803

Closed
sumaky opened this issue Jun 7, 2024 · 1 comment
Closed
Labels
bug Something isn't working cert blocker needs triage

Comments

@sumaky
Copy link

sumaky commented Jun 7, 2024

Reproduction steps

Test Case ID:
DRLK-2.9 will be updated to include this check

Describe Issue:
Found during negative test case scenario testing
TC-DRLK-2.9 execute steps till step 9 - all is good.

then execute the below step with invalid user index 0

./chip-tool doorlock get-credential-status '{ "credentialType" : 1 , "credentialIndex" : 1 }' 0 1 --timedInteractionTimeoutMs 1000

there is no response we see a run command failure

Same outcome for index 11( exceeding the number of NumberOfTotalUsers

Same happens with GetUser Command

Expected INVALID_COMMAND

Spec Reference:
DRLK2024-06-07 17-12-36

Bug prevalence

Always

GitHub hash of the SDK that was being used

NA

Platform

other

Platform Version(s)

No response

Anything else?

DRLK-2.9-negativecase.txt

@sumaky sumaky added bug Something isn't working needs triage labels Jun 7, 2024
@sumaky
Copy link
Author

sumaky commented Jun 13, 2024

The command should be GetUser not GetCredentialStatus

@sumaky sumaky closed this as completed Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cert blocker needs triage
Projects
Archived in project
Development

No branches or pull requests

2 participants