You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Precondition:
The system should have two or more users with the ZBCertificationCenter role.
Steps to reproduce:
Add to the system model-info with valid vid and pid (zblcli tx modelinfo add-model...).
Add test-result for this model: use the same vid and pid parameters (zblcli tx compliancetest add-test-result...).
Certify this model using one account with the ZBCertificationCenter role: use the same vid and pid parameters (zblcli tx compliance certify-model...).
Try to certify the same pair of vid and pid:
a) using the same account with the ZBCertificationCenter role (from step 3);
b) using another account with the ZBCertificationCenter role (not the same as in step 3).
Look at the result of the command execution.
Actual results:
The second certification command for the same pair of the vid and pid is successfully executed.
Expected results:
a) When the same account with the ZBCertificationCenter role (from step 3) is used at the second request, the confirmation message should appear: "override the existing certification info [y/N]: " (message should be discussed).
b) When another account with the ZBCertificationCenter role (not the same as in step 3) is used at the second request, error message should appear info the results: "Model with vid= and pid= is already certified on the ledger."(message should be discussed).
The text was updated successfully, but these errors were encountered:
Severity:
major
Build info:
0505970
Precondition:
The system should have two or more users with the
ZBCertificationCenter
role.Steps to reproduce:
zblcli tx modelinfo add-model...
).zblcli tx compliancetest add-test-result...
).ZBCertificationCenter
role: use the same vid and pid parameters (zblcli tx compliance certify-model...
).a) using the same account with the
ZBCertificationCenter
role (from step 3);b) using another account with the
ZBCertificationCenter
role (not the same as in step 3).Actual results:
The second certification command for the same pair of the
vid
andpid
is successfully executed.Expected results:
a) When the same account with the
ZBCertificationCenter
role (from step 3) is used at the second request, the confirmation message should appear: "override the existing certification info [y/N]: " (message should be discussed).b) When another account with the
ZBCertificationCenter
role (not the same as in step 3) is used at the second request, error message should appear info the results: "Model with vid= and pid= is already certified on the ledger."(message should be discussed).The text was updated successfully, but these errors were encountered: