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

[Bug] Label uploads give incorrect labels in archive upload modal #1322

Closed
tthvo opened this issue Aug 10, 2024 · 1 comment · Fixed by #1323
Closed

[Bug] Label uploads give incorrect labels in archive upload modal #1322

tthvo opened this issue Aug 10, 2024 · 1 comment · Fixed by #1323
Labels
bug Something isn't working

Comments

@tthvo
Copy link
Member

tthvo commented Aug 10, 2024

Current Behavior

When uploading a JSON containing labels, the upload succeeds but the labels are parsed incorrectly.

Expected Behavior

The labels should be parsed and rendered correctly.

Steps To Reproduce

Use the JSON below (downloaded from the Recording view) to upload labels in the Archive Upload Modal.

{
  "labels": [
    {
      "key": "connectUrl",
      "value": "service:jmx:rmi:///jndi/rmi://localhost:0/jmxrmi"
    },
    {
      "key": "template.type",
      "value": "TARGET"
    },
    {
      "key": "jvmId",
      "value": "uiHfwHuHaz-0gyN5t3R70FfABvAlHRu3ak1YEDfDEJc="
    },
    {
      "key": "template.name",
      "value": "Continuous"
    }
  ]
}

Environment

- OS: Fedora
- Environment: Smoketest with `docker-compose`
- Version: `4.0.0-dev` (likely affects `3.0.0`)

Anything else?

image

@tthvo tthvo added the bug Something isn't working label Aug 10, 2024
@tthvo tthvo moved this to In progress in 4.0.0 release Aug 10, 2024
@tthvo tthvo moved this to In progress in 3.0.1 release Aug 10, 2024
@tthvo
Copy link
Member Author

tthvo commented Aug 10, 2024

Confirmed this affected 3.0.0 :((

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
Status: Done
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant