Bug #6657

Major/monor version fields should not accept negative integer values while creating OS

Added by Ori Rabin about 4 years ago. Updated 8 days ago.

Status:Closed
Priority:Normal
Assignee:Ori Rabin
Category:Database
Target version:1.6.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link:1120199 Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/1593

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1120199
Description of problem:
while creating new OS, I can pass negative integer values to major/minor version fields.

Version-Release number of selected component (if applicable):

How reproducible:
always

Steps to Reproduce:
1. use -ve values for major/minor version while creating OS
2.
3.

Actual results:
User can input -ve values for major/minor versions

Expected results:
Major/monor version fields should not accept negative integer values while creating OS

Additional info:

Associated revisions

Revision 61a13f7d
Added by Dominic Cleal almost 4 years ago

refs #6657 - add new validates_lengths_from_database dependency

Revision 3034e8e2
Added by Ori Rabin almost 4 years ago

fixes #6636, #6657, #6694 - add field length validations, extend audit field length

Revision 7f49c9a0
Added by Lukas Zapletal almost 4 years ago

Merge pull request #293 from domcleal/rpm/develop-6657-validator

refs #6657 - add new validates_lengths_from_database dependency

History

#1 Updated by Ori Rabin about 4 years ago

  • Status changed from New to Assigned

#2 Updated by Ori Rabin about 4 years ago

  • Status changed from Assigned to Ready For Testing

#3 Updated by Dominic Cleal almost 4 years ago

  • Category set to Database
  • Target version set to 1.8.0
  • Pull request https://github.com/theforeman/foreman/pull/1593 added

#4 Updated by Dmitri Dolguikh almost 4 years ago

  • Target version changed from 1.8.0 to 1.7.5

#5 Updated by Dominic Cleal almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 10

#6 Updated by Ori Rabin almost 4 years ago

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

Also available in: Atom PDF