-
Notifications
You must be signed in to change notification settings - Fork 221
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
SB won't load a file that contains <userData> #253
Comments
This is even worse. There should be an error dialog which is not shown. |
@abhinayagarwal Otherwise, one approach would be to ignore the user data elements on existing FXMLs for FXML loading. With #405, we could remove most likely not-working content from FXML before passing the FXML into the FXMLLoader but without removing the nodes from the FXOM so the data is not lost for the user. Hello @bendem! |
Yes, that's the point of userData in my opinion, provide something dynamic to a static view. There is no way scenebuilder could ever resolve that symbol. |
Ignoring the user data elements sounds like the correct approach. I can't think of a scenario where Scene Builder would need to use the data and process something. |
Still broken, any workarounds/fixes? |
no |
... |
@jaymehta-g I will look into this as. There are other FXML/FXOM related issues around and I had to learn how this works internally. There won't be a fix for Scene Builder 20 but I'll give you a ping as soon as there is something to test. Thanks for the reminder. @AlmasB |
I have the file
I have to remove the
<userData>
tag, before opening the file, otherwise I getadding the tag back after the file is opened causes the same exception but that doesn't prevent the editor from working.
The text was updated successfully, but these errors were encountered: