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

Messages are written in incorrect place if user imports policy as new version #2406

Closed
kirill-tolochko opened this issue Jul 12, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kirill-tolochko
Copy link
Collaborator

Problem description

If user imports policy as new version, messages are being written in wrong place.

Step to reproduce

Steps to reproduce the behavior:

  1. Import policy, publish it.
  2. Copy topicId, copy messageId
  3. a) 3a. post request to the URL /policies/import/message?versionOfTopicId={{topicId}},
    with body
    {
    "messageId": "{{messageId}}"
    }
  4. b) OR post request to the URL /policies/import/file?versionOfTopicId={{topicId}}
    with file of the policy in the body

Expected behavior

Messages aren't written in the user topic https://explore.lworks.io/testnet/topics/userTopic (you can get it from the SR did - the last part of it did:hedera:testnet:8cZUMzT8R2MoC8MnpJo8FL7BSaa7AYfpZNZwzw1MuqUk_0.0.15324719
They should be written in the different place

Actual behavior

Message are written in the user topic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants