Bug #6657

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

Added by Ori Rabin almost 4 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Ori Rabin
Category:Database
Target version:Sprint 27
Difficulty: Bugzilla link:1120199
Found in release: Pull request:https://github.com/theforeman/foreman/pull/1593
Story points-
Velocity based estimate-
Release1.6.0Release relationshipAuto

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 over 3 years ago

refs #6657 - add new validates_lengths_from_database dependency

Revision 3034e8e2
Added by Ori Rabin over 3 years ago

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

Revision 7f49c9a0
Added by Lukas Zapletal over 3 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 almost 4 years ago

  • Status changed from New to Assigned

#2 Updated by Ori Rabin almost 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 Sprint 26
  • Pull request https://github.com/theforeman/foreman/pull/1593 added

#4 Updated by Dmitri Dolguikh over 3 years ago

  • Target version changed from Sprint 26 to Sprint 27

#5 Updated by Dominic Cleal over 3 years ago

  • Release set to 1.6.0

#6 Updated by Ori Rabin over 3 years ago

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

Also available in: Atom PDF