Project

General

Profile

Actions

Bug #297

closed

NULL values in operatingsystem.minor break helper function in lib/family.rb

Added by Frank Sweetser over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DB migrations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

If operatingsystem.minor is null, the helper functions that run gsub on it in lib/family.rb die. Simple migration patch that changes the column definition to match major attached.


Files

Actions #1

Updated by Ohad Levy over 14 years ago

  • Target version set to 0.1-5

this breaks the fact importer (rake test), I'll investigate further

SQLite3::SQLException: operatingsystems.minor may not be NULL: INSERT INTO "operatingsystems" ("name", "family_id", "created_at", "updated_at", "nameindicator", "major", "release_name", "minor") VALUES('RedHat', NULL, '2010-06-02 02:49:08', '2010-06-02 02:49:08', NULL, '4', NULL, NULL)
Actions #2

Updated by Ohad Levy over 14 years ago

  • Status changed from New to Assigned
  • Assignee set to Ohad Levy
Actions #3

Updated by Frank Sweetser over 14 years ago

  • Status changed from Assigned to Ready For Testing
  • % Done changed from 0 to 100
Actions #4

Updated by Ohad Levy over 14 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF