Bug #6432

attributes missing :presence => true

Added by Joseph Magen over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Joseph Magen
Category:Rails
Target version:Sprint 26
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/foreman/pull/1624
Story points-
Velocity based estimate-
Release1.6.0Release relationshipAuto

Related issues

Duplicated by Foreman - Bug #7040: hammer architecture create with no name specified gives w... Duplicate 08/12/2014
Duplicated by Foreman - Bug #6714: Error message needs to be rephrased when we create media ... Closed 07/22/2014

Associated revisions

Revision 4df26ec4
Added by Joseph Magen over 3 years ago

fixes #6432 - add validation for attributes missing :presence => true and remove duplicate validation messages 'can't be blank'

History

#1 Updated by Ohad Levy over 3 years ago

which attribute? :)

#2 Updated by Dmitri Dolguikh over 3 years ago

  • Target version changed from Sprint 25 to Sprint 26

#3 Updated by Joseph Magen over 3 years ago

  • Status changed from Assigned to Ready For Testing

https://github.com/theforeman/foreman/pull/1512

missing :presence => true for name on

architectures
compute_resources
operatingsystems
realms

#4 Updated by Dominic Cleal over 3 years ago

  • Category set to Rails

#5 Updated by The Foreman Bot over 3 years ago

  • Pull request https://github.com/theforeman/foreman/pull/1624 added

#6 Updated by Dominic Cleal over 3 years ago

  • Release set to 1.6.0

#7 Updated by Joseph Magen over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#8 Updated by Martin Bacovsky over 3 years ago

  • Related to Bug #7040: hammer architecture create with no name specified gives wrong error message added

#9 Updated by Martin Bacovsky over 3 years ago

  • Related to deleted (Bug #7040: hammer architecture create with no name specified gives wrong error message)

#10 Updated by Martin Bacovsky over 3 years ago

  • Duplicated by Bug #7040: hammer architecture create with no name specified gives wrong error message added

#11 Updated by Dominic Cleal almost 3 years ago

  • Duplicated by Bug #6714: Error message needs to be rephrased when we create media without passing name added

Also available in: Atom PDF