Bug #6432

attributes missing :presence => true

Added by Joseph Magen about 4 years ago. Updated 8 days ago.

Status:Closed
Priority:Normal
Assignee:Joseph Magen
Category:Rails
Target version:1.6.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/1624

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 almost 4 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 about 4 years ago

which attribute? :)

#2 Updated by Dmitri Dolguikh about 4 years ago

  • Target version changed from 1.8.1 to 1.8.0

#3 Updated by Joseph Magen about 4 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 about 4 years ago

  • Category set to Rails

#5 Updated by The Foreman Bot almost 4 years ago

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

#6 Updated by Dominic Cleal almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 10

#7 Updated by Joseph Magen almost 4 years ago

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

#8 Updated by Martin Bacovsky almost 4 years ago

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

#9 Updated by Martin Bacovsky almost 4 years ago

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

#10 Updated by Martin Bacovsky almost 4 years ago

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

#11 Updated by Dominic Cleal over 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