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

SCL validation does not work correctly when re-opening an SCD file #28

Open
aus-betz opened this issue Oct 21, 2024 · 1 comment
Open

Comments

@aus-betz
Copy link

Whilst trying to fix some validation errors introduced by an SEL-2440 ICD upgrade, I found that the validation did not work correctly when reloading the same file after making changes in an external editor. e.g. I can fix the errors in some text editor, select 'Open Project' in OpenSCD and then the 'Validating' option. The same validation errors are present as before. If I open a separate SCD and then open the fixed SCD, the 'Validating' option works correctly. Perhaps some buffer is not being cleared when the same file is opened? Note that I am not updating the history section of the file when I make the correction, in case that makes a difference.

Workaround:
I am now in the habit of reloading a separate SCD file before reloading the project file as some editors don't seem to behave correctly when reloading the same file consecutively.

@danyill
Copy link
Collaborator

danyill commented Oct 21, 2024

I think that this may be the same concern as this issue: openscd/open-scd-core#92

I believe this may be fixed this in a development version of core that we hope to see in the not too distance future. Can you confirm @ca-d?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants