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

Fix loading multiple mark files #284

Merged
merged 2 commits into from
Sep 23, 2021
Merged

Conversation

fwendland
Copy link
Collaborator

The implementation iterated over the specified MARK files and loaded them. However,
it was overseen that each load would created a new XtextParser. Thereby, previously
loaded entities were no longer available causing error while parsing MARK.

This fix now passes along the array of MARK file locations to the load method. It
creates one parser and adds all specified and discovered files to this single
instance.

The implementation iterated over the specified MARK files and loaded them. However,
it was overseen that each load would created a new XtextParser. Thereby, previously
loaded entities were no longer available causing error while parsing MARK.

This fix now passes along the array of MARK file locations to the load method. It
creates one parser and adds all specified and discovered files to this single
instance.
@fwendland fwendland added the bug Something isn't working label Sep 23, 2021
@fwendland fwendland added this to the 2.0.0 milestone Sep 23, 2021
@fwendland fwendland self-assigned this Sep 23, 2021
@sonarcloud
Copy link

sonarcloud bot commented Sep 23, 2021

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell B 1 Code Smell

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@fwendland fwendland merged commit c075e8c into main Sep 23, 2021
@fwendland fwendland deleted the fw/load-multiple-mark-files branch September 23, 2021 13:30
fwendland added a commit that referenced this pull request Apr 15, 2024
The implementation iterated over the specified MARK files and loaded them. However,
it was overseen that each load would created a new XtextParser. Thereby, previously
loaded entities were no longer available causing error while parsing MARK.

This fix now passes along the array of MARK file locations to the load method. It
creates one parser and adds all specified and discovered files to this single
instance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant