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

SE-13618: Extend the checks of the TemplateCompiler to include missing required attributes #1464

Merged
merged 9 commits into from
Oct 2, 2024

Conversation

oolscireum
Copy link
Contributor

Description

The TemplateCompiler currently ignores if there are missing attributes that are required because of a missing default value. This circumstance ist only detected during the rendering of the page.

The changes to the TemplateCompiler is now checking for these missing attributes as an early warning to the programmer. Especialy if the templates are overwritten by an artefact.

Additional Notes

  • This PR fixes or works on following ticket(s): SE-13618

Checklist

  • Code change has been tested and works locally
  • Code was formatted via IntelliJ and follows SonarLint & best practices
  • Patch Tasks: Is local execution of Patch Tasks necessary? If so, please also mark the PR with the tag.

@oolscireum oolscireum added the 🧬 Enhancement Contains new features label Oct 1, 2024
…thod in the TemplateCompiler.

"new HashSet(...)" is needed because "Set.of(...)" is immutable.

Fixes: SE-13618
@oolscireum oolscireum requested review from sabieber and idlira October 1, 2024 13:24
… in the else path and not outside.

Fixes: SE-13618
Copy link
Contributor

@mkeckmkeck mkeckmkeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Importe noch aufräumen

@fhaScireum fhaScireum requested a review from mkeckmkeck October 2, 2024 07:12
@oolscireum oolscireum merged commit 7f82e9e into develop Oct 2, 2024
3 checks passed
@oolscireum oolscireum deleted the feature/ool/SE-13618 branch October 2, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧬 Enhancement Contains new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants