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

    XMLWordPrintable

Details

    • Bug
    • Status: Complete
    • Medium
    • Resolution: Done
    • None
    • None
    • None
    • 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. Screenshot.PNG
          Screenshot.PNG
          66 kB
        2. 2.PNG
          2.PNG
          156 kB
        3. 1.PNG
          1.PNG
          23 kB

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: