hyperledger / identus-edge-agent-sdk-ts

Apache License 2.0
15 stars 8 forks source link

fix: attachment descriptor parameters #240

Closed amagyar-iohk closed 1 week ago

amagyar-iohk commented 2 weeks ago

Description:

While debugging the repeated message from Mediator we found out the cause of it. This PR fixes this long time issue. Fixes ATL-7354

Unit tests:

image

Integration tests:

image

Checklist:

github-actions[bot] commented 2 weeks ago
Lines Statements Branches Functions
Coverage: 75%
75.29% (2785/3699) 65.05% (1355/2083) 80.55% (721/895)

JUnit

Tests Skipped Failures Errors Time
504 6 :zzz: 0 :x: 0 :fire: 1m 16s :stopwatch:
FabioPinheiro commented 2 weeks ago

He added some logic to filter the messages locally. I'm IMO that should be removed

On Sat, Jun 29, 2024, 18:35 Allain Magyar @.***> wrote:

@.**** commented on this pull request.

In src/mercury/didcomm/Wrapper.ts https://github.com/input-output-hk/atala-prism-wallet-sdk-ts/pull/240#discussion_r1659914303 :

   attachment.media_type,
  • attachment.id,

Which workaround?

— Reply to this email directly, view it on GitHub https://github.com/input-output-hk/atala-prism-wallet-sdk-ts/pull/240#discussion_r1659914303, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDIPJNA73IAHUK3GZDKV2TZJ3V45AVCNFSM6AAAAABKCRFUPWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDCNBZG42DCMBYHE . You are receiving this because you commented.Message ID: <input-output-hk/atala-prism-wallet-sdk-ts/pull/240/review/2149741089@ github.com>

mkbreuningIOHK commented 2 weeks ago

@amagyar-iohk , as you are mentioning This PR fixes this long time issue: Could you give the reference to the issue (GitHub or Jira) so we can track? cc @FabioPinheiro

FabioPinheiro commented 2 weeks ago

I believe the issue was never reported

On Mon, Jul 1, 2024, 06:49 mkbreuning @.***> wrote:

@amagyar-iohk https://github.com/amagyar-iohk , as you are mentioning This PR fixes this long time issue: Could you give the reference to the issue (GitHub or Jira) so we can track? cc @FabioPinheiro https://github.com/FabioPinheiro

— Reply to this email directly, view it on GitHub https://github.com/input-output-hk/atala-prism-wallet-sdk-ts/pull/240#issuecomment-2199290406, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDIPJMQKNJLMZ4JW2Z2ILLZKDUYPAVCNFSM6AAAAABKCRFUPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZGI4TANBQGY . You are receiving this because you were mentioned.Message ID: @.*** com>

elribonazo commented 1 week ago

@mkbreuningIOHK I assume that we have introduced this duplicity issue recently and because we have not released in a long period this is probably not an issue outside.

But during my tests in the latest version i did see that there was some duplicate messages.

+1 to merge this PR @amagyar-iohk all good