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

Fixes to templates: Do not allow deletion of masters and ensure file names are pascal case #17539

Conversation

bergmania
Copy link
Member

@bergmania bergmania commented Nov 15, 2024

Fixes #17458
Fixes #16443

Description

Template file names should be Pascal-case. We can do this my having a titlecase on the original alias.

Furthermore, ensure templates cannot be delete when it is a master template

Tests

  • See original issues but use swagger to delete a master template

Also ensure master templates cannot be deleted
@bergmania bergmania changed the title Make template file names start with capical character Fixes to templates: Do not allow deletion of masters and ensure file names are pascal case Nov 15, 2024
Copy link
Contributor

@nikolajlauridsen nikolajlauridsen left a comment

Choose a reason for hiding this comment

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

Looks good, tests good 👍

nikolajlauridsen and others added 5 commits November 15, 2024 09:34
…emplate-files-needs-to-have-capical-first-character
…needs-to-have-capical-first-character' into v15/bugfix/17458-Template-files-needs-to-have-capical-first-character
@bergmania bergmania merged commit c846633 into v15/dev Nov 16, 2024
16 of 18 checks passed
@bergmania bergmania deleted the v15/bugfix/17458-Template-files-needs-to-have-capical-first-character branch November 16, 2024 19:30
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

Successfully merging this pull request may close these issues.

2 participants