vaadin / flow

Vaadin Flow is a Java framework binding Vaadin web components to Java. This is part of Vaadin 10+.
Apache License 2.0
605 stars 166 forks source link

[Component Tracker]Cannot open a component inside an inner class #18216

Closed jcgueriaud1 closed 8 months ago

jcgueriaud1 commented 9 months ago

Description of the bug

I'm trying to open a component inside the component tab in the devtools. The component is not opened in my IDE and I have a System.out.println in my IDE

Expected behavior

I would like to see my IDE opened in the correct line or an explanation.

Minimal reproducible example

https://github.com/jcgueriaud1/spring-petclinic-vaadin-flow/tree/accessibility

Run it, go to http://localhost:8080/owners/1 click on the H3 title Pets.

The IDE is not opened at the correct line and you can see the line in your logs: image

The reason is that the classname: org.springframework.samples.petclinic.ui.view.owner.OwnerDetailsView$PetsContainer does not end with the filename OwnerDetailsView(.java) because of the $PetsContainer (name of the internal class) image

Versions

vaadin-bot commented 8 months ago

This ticket/PR has been released with Vaadin 24.4.0.alpha1 and is also targeting the upcoming stable 24.4.0 version.

vaadin-bot commented 8 months ago

This ticket/PR has been released with Vaadin 24.2.9.

vaadin-bot commented 8 months ago

This ticket/PR has been released with Vaadin 24.3.3.