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

Websockets admin/tracker generated example is broken in jHipster 8.1.0 #25255

Closed
1 task done
kevintanhongann opened this issue Feb 19, 2024 · 5 comments · Fixed by #25566
Closed
1 task done

Websockets admin/tracker generated example is broken in jHipster 8.1.0 #25255

kevintanhongann opened this issue Feb 19, 2024 · 5 comments · Fixed by #25566
Labels
area: bug 🐛 $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ theme: vue $100 https://www.jhipster.tech/bug-bounties/
Milestone

Comments

@kevintanhongann
Copy link

kevintanhongann commented Feb 19, 2024

Overview of the issue

Websockets admin/tracker generated example is broken in jHipster 8.1.0. It was working in jHipster 7.9.+.

Reproduce the error

Just generate an app with this config in 7.9.4 and 8.1.0, and compare. While opening the User Tracker application from the Admin menu, use Inspect and refresh the application. It works for 7.9.4, but not 8.1.0.

application {
  config {
    baseName documentManagement
    applicationType monolith
    authenticationType jwt
    databaseType sql
    devDatabaseType postgresql
    prodDatabaseType postgresql
    buildTool gradle
    websocket spring-websocket
    clientFramework vue
    testFrameworks [gatling,cypress]
  }
}
Related issues
JHipster Version(s)

8.1.0

Browsers and Operating System

Ubuntu 23.10 and Firefox

  • Checking this box is mandatory (this is just to show you read everything)
Copy link
Contributor

github-actions bot commented Feb 19, 2024

JHipster has completed the sample check
.yo-rc.json:
Entities JDL:
Application: successfully generated
Frontend check: skipped
Backend check: skipped
E2E check: skipped

This check uses jhipster info output from the issue description to generate the sample.
Bug report that does not contain this information will be marked as invalid.

@mshima
Copy link
Member

mshima commented Feb 19, 2024

I confirm the bug. The authenticated signal is not working as expected.

@mraible
Copy link
Contributor

mraible commented Mar 20, 2024

I see the following in my console with the main branch.

Screenshot 2024-03-20 at 9 39 38 AM

What's the behavior you expect to see?

@kevintanhongann
Copy link
Author

kevintanhongann commented Mar 20, 2024

@mraible In the React variant, it will show no errors(the screenshot)or should I say the opposite of that, and as you navigate the admin panels, the logs of which pages you have navigated will show in the tracker page.

So I will expect the behavior to work the same as that in the Vue variant.

@mraible
Copy link
Contributor

mraible commented Mar 20, 2024

I can confirm that things work better with v7. I'll add a bug bounty in hopes of getting this fixed.

@mraible mraible added $100 https://www.jhipster.tech/bug-bounties/ $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ labels Mar 20, 2024
@mraible mraible added this to the 8.3.0 milestone Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: bug 🐛 $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ theme: vue $100 https://www.jhipster.tech/bug-bounties/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants