transform-hub icon indicating copy to clipboard operation
transform-hub copied to clipboard

[TOPIC] Hub topic list has duplicated topic name

Open a-tylenda opened this issue 11 months ago • 0 comments

Describe the bug si topic ls returns list:

[
  {
    contentType: 'application/x-ndjson',
    localProvider: '',
    topic: 'names',
    topicName: 'names'
  }
]

where topic and topicName is the same.

localProvider value is also missing. Should be instance ID?

Steps to Reproduce

  1. Deploy any sequence that is a topic provider, like endless-names-output.tar.gz
  2. list topic si topic ls

Reproduction repo/branch

  1. git clone <repo> // optional
  2. git checkout -b test/somebranch user:branch // so we can check out the problem
  3. run npm test:someculprit --that-s=buggin me

Expected behavior A topic object from the list should have either topic or topicName, but not both.

Version (please complete the following information):

  • STH version: 0.35.0
  • SI version: 0.35.0
  • node version: v18.15.0
  • os: Ubuntu 20.4

Additional information like logs, screenshots etc.

a-tylenda avatar Jul 21 '23 13:07 a-tylenda