Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-378

[send CLAIM_DEF] Claim DEF was published when it should not have been

    Details

    • Type: Bug
    • Status: Complete
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Sprint:
      10

      Description

      Build Info:
      sovrin-client 0.4.19
      sovrin-node 0.4.9

      Overview:
      Exceptions are raised due to command execution.

      Steps to Reproduce - Case 1:
      1. Send CLAIM_DEF with nonexistent seqNo as REF parameter.

      Actual Results:
      Task exception was never retrieved
      future: <Task finished coro=<SovrinCli._sendClaimDefActionAsync() done, defined at /usr/local/lib/python3.5/dist-packages/sovrin_client/cli/cli.py:737> exception=AttributeError("'NoneType' object has no attribute 'issuerId'",)>

      Expected Results:
      User-friendly error message about incorrect REF parameter.

      Steps to Reproduce - Case 2:
      1. Send CLAIM_DEF with existing seqNo as REF parameter.

      Actual Results:
      The following claim definition is published to the Sovrin distributed ledger
      ...
      Task exception was never retrieved
      future: <Task finished coro=<SovrinCli._sendClaimDefActionAsync() done, defined at /usr/local/lib/python3.5/dist-packages/sovrin_client/cli/cli.py:737> exception=AttributeError("'tuple' object has no attribute 'seqId'",)>

      Expected Results:
      There should be no error or exception messages because the claim definition is successfully published.

        Attachments

        1. 1.PNG
          1.PNG
          23 kB
        2. 2.PNG
          2.PNG
          156 kB
        3. Screenshot.PNG
          Screenshot.PNG
          66 kB

          Activity

            People

            • Assignee:
              danielhardman Daniel Hardman
              Reporter:
              VladimirWork Vladimir Shishkin
              Watchers:
              Nikita Spivachuk, Vladimir Shishkin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: