Actions
Bug #25305
closedValidation failed: Puppet class can't be blank when importing puppet classes
Difficulty:
easy
Triaged:
Yes
Pull request:
Description
Puppet Class import fails with "ActiveRecord::RecordInvalid: Validation failed: Puppet class can't be blank" when user does not have create_puppetclasses permission.
We should add a proper error message when https://github.com/theforeman/foreman/blob/f22a6c642a161bee0131e826cf9e7726fb901b08/app/services/puppet_class_importer.rb#L259 fails to create the puppetclass.
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Timo Goebel
- Pull request https://github.com/theforeman/foreman/pull/6199 added
Updated by Ondřej Pražák about 6 years ago
- Status changed from Ready For Testing to Closed
- Fixed in Releases 1.21.0 added
Actions