Actions
Bug #28750
closedTemplate controller name must be plural
Difficulty:
Triaged:
Yes
Description
Since we've got convention according to which all controller names should be pluralized, TemplateController should be renamed to TemplatesController.
Also, because of that some hammer commands (which rely on pluralized resources' names) may fail. For example, hammer template-input update --template-id 1 --name 'Organiztaion' --new-name 'Organization' will fail, since the resolving input's name to id cannot be performed.
Updated by The Foreman Bot almost 5 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman_templates/pull/137 added
Updated by Oleh Fedorenko almost 5 years ago
- Triaged changed from No to Yes
UPD:
To fix hammer related issue it is enough to change the resource id in the API documentation.
Updated by Oleh Fedorenko almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_templates|c1c4756a71fb44e274a7b113dfbc57f77a9549e4.
Updated by Ondřej Pražák almost 5 years ago
- Fixed in Releases foreman_templates 8.0.0 added
- Fixed in Releases deleted (
)
Actions