quarkus icon indicating copy to clipboard operation
quarkus copied to clipboard

Dev UI works weird in 3.22.1

Open danieloh30 opened this issue 6 months ago • 13 comments
trafficstars

Describe the bug

When I created a new quarkus project with 3.22.1 today, the rest endpoint doesn't show anything in Dev UI. v3.21.4 works properly though.

Expected behavior

The endpoint result should show like

Image

Actual behavior

Image

How to Reproduce?

  1. Create a new project via quarkus create app hello
  2. Run a dev mode
  3. Go to Dev UI
  4. Navigate to REST > Endpoints
  5. Select "/hello" URL

Output of uname -a or ver

No response

Output of java -version

openjdk version "24" 2025-03-18

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

danieloh30 avatar Apr 30 '25 17:04 danieloh30

/cc @cescoffier (devui), @phillip-kruger (devui)

quarkus-bot[bot] avatar Apr 30 '25 17:04 quarkus-bot[bot]

Mailpit UI has the same issue

Image

danieloh30 avatar Apr 30 '25 17:04 danieloh30

If you use the web inspector, do you see any JavaScript error in the console?

cescoffier avatar Apr 30 '25 17:04 cescoffier

I found this error in the debug mode

Image

danieloh30 avatar Apr 30 '25 17:04 danieloh30

Thanks @danieloh30, let's wait for @phillip-kruger.

cescoffier avatar Apr 30 '25 17:04 cescoffier

@danieloh30 happy that someone is using Mailpit! Thanks for reporting this issue.

melloware avatar May 01 '25 01:05 melloware

@melloware I love it. I usually use the MailPit for my live demo when I code a tool + RAG :)

danieloh30 avatar May 01 '25 01:05 danieloh30

@danieloh30 thanks for the catch. There is a PR to fix this now and I marked it to backport so it should be in the next patch release.

phillip-kruger avatar May 01 '25 02:05 phillip-kruger

Sounds good! Hope the PR will fix the swagger-ui too.

When do you expect to release the next version? I have a live demo next week at Devoxx UK. @phillip-kruger

danieloh30 avatar May 01 '25 02:05 danieloh30

What do you mean fix the swagger-ui ? What was broken there ? I an not sure when the next release is, maybe @gsmet can help ?

phillip-kruger avatar May 01 '25 03:05 phillip-kruger

Yeah, when I access the swagger-ui from Dev UI, it's an empty page like Mailpit and REST endpoint.

danieloh30 avatar May 01 '25 03:05 danieloh30

Ok yes that should be fixed. Basically any non-router (spa of the dev ui) would have been broken

phillip-kruger avatar May 01 '25 03:05 phillip-kruger

Sounds good!

danieloh30 avatar May 01 '25 03:05 danieloh30