Actions
Bug #18771
closederror when resource does not have id ActiveRecord::RecordInvalid: Validation failed: Resource can't be blank
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
When a resource is going to be locked, the lock requires that the resource has an id (see validation in lock.rb). Without this there are errors.
To reproduce, register a content host with subscription-manager and update facts:
subscription-manager register --username admin --password changeme --org Default_Organization --env Library
subscription-manager facts --update
The CpConsumerUser does not have an id since it is a temporary user used just for the length of the call.
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ivan Necas
- Pull request https://github.com/theforeman/foreman-tasks/pull/256 added
Updated by Ivan Necas over 7 years ago
- Target version changed from 113 to 1.14.1
Updated by Ivan Necas over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset b619e6e974425a658f0123fa1e16cc32daed3437.
Updated by Ivan Necas over 7 years ago
- Translation missing: en.field_release set to 261
Actions