-
Notifications
You must be signed in to change notification settings - Fork 167
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
Missing hints for automatic menus #20458
Labels
Comments
mshabarov
added
bug
Impact: Low
Severity: Major
native-image
Issues related to native image compilation, GraalVM
labels
Nov 13, 2024
It can be reproduced with the import { useParams } from 'react-router-dom';
import type { ViewConfig } from "@vaadin/hilla-file-router/types.js";
export const config: ViewConfig = {
loginRequired: false,
menu: {
title: "Product",
icon: 'vaadin:info'
}
};
export default function ProductView() {
const { productId } = useParams();
return (<>
<span>{productId}</span>
</>)
} Then build the native executable with |
mcollovati
added a commit
that referenced
this issue
Nov 14, 2024
mcollovati
moved this from ⚒️ In progress
to 🔎Iteration reviews
in Vaadin Flow ongoing work (Vaadin 10+)
Nov 14, 2024
mcollovati
added a commit
that referenced
this issue
Nov 14, 2024
github-project-automation
bot
moved this from 🔎Iteration reviews
to Done
in Vaadin Flow ongoing work (Vaadin 10+)
Nov 14, 2024
vaadin-bot
pushed a commit
that referenced
this issue
Nov 14, 2024
vaadin-bot
added a commit
that referenced
this issue
Nov 14, 2024
Fixes #20458 Co-authored-by: Marco Collovati <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description of the bug
@marcushellberg :
I'm getting this when trying to run an app as a GraalVM native image. I can't reproduce it in a simple app, so I haven't yet filed an issue. Any pointers on what may be going wrong? Looks like we may be missing some hints again
Expected behavior
No warnings and errors.
Minimal reproducible example
No info, but probably Vaadin 24.6 application that uses FS router and auto menus feature, also compiled to GraalVM native image.
Versions
Vaadin 24.6 pre
The text was updated successfully, but these errors were encountered: