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

Referenced schema not shown after a click on its link #1388

Open
Petkomat opened this issue Aug 19, 2024 · 5 comments
Open

Referenced schema not shown after a click on its link #1388

Petkomat opened this issue Aug 19, 2024 · 5 comments

Comments

@Petkomat
Copy link

Petkomat commented Aug 19, 2024

When I go to Schema Registry subpage and choose a schema, e.g.,

{
    "type": "record",
    "name": "car",
    "fields": [
       ...,
        {
            "name": "owner",
            "type": "io.example.Human"
        }
    ]
}

I am viewing it at http://localhost:6088/schema-registry/subjects/io.example.Car?version=latest and correctly see the referenced schema io.example.Human in the References section. However, if I click on the link that is supposed to take me to io.example.Human, nothing happens, unless I change the version in

http://localhost:6088/schema-registry/subjects/io.example.Human?version=1

to

http://localhost:6088/schema-registry/subjects/io.example.Human?version=latest.

Human is explicitly defined to have version 1.

@weeco
Copy link
Contributor

weeco commented Aug 19, 2024

Thanks for the report @Petkomat , what Console version are you using?

@Petkomat
Copy link
Author

I am using docker image redpandadata/console:latest (image id: e592ab596862)

@weeco
Copy link
Contributor

weeco commented Aug 19, 2024

Does this resolve to v2.7.1 which is the actual latest version? I do not recommend using latest due to local image caching. I couldn't find the image id

@Petkomat
Copy link
Author

Now, it behaves interestingly. Our schemas have more references and I noticed the following:

  1. When I choose any reference A and click on it at least once, nothing happens (except for the url change in the browser, after the first click).
  2. No matter how many clicks (1 or more) were performed on the reference A, when I click on any other reference B, I am taken to the reference B immediately.
  3. Independently of 2, if click(s) on A are followed by the click on the refresh button (next to the schema name and auto refresh button), the page is refreshed and shows reference A.

@weeco
Copy link
Contributor

weeco commented Aug 19, 2024

Could you share a recording? Ideally show the network tab and check the console for error logs as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants