Project

General

Profile

Actions

Bug #1992

closed

NULL value in vlanid on subnets table raise an error

Added by Romain Vrignaud over 11 years ago. Updated over 11 years ago.

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

Description

Having NULL value into vlanid on subnets
table was raising an error.
update subnets set vlanid=''; fixed the problem

Error trace :
Started GET "/locations/new" for 192.168.200.117 at Mon Dec 03 14:29:40 +0100 2012
Processing by LocationsController#new as HTML
Rendered common/_edit_habtm.erb (9.8ms)
Rendered common/_edit_habtm.erb (4.4ms)
Rendered taxonomy/_form.html.erb (22.5ms)
Rendered locations/new.html.erb within layouts/application (22.9ms)
Operation FAILED: undefined method `<=>' for nil:NilClass
Rendered home/_topbar.rhtml (3.3ms)
Rendered common/500.rhtml within layouts/application (10.8ms)
Completed 500 Internal Server Error in 40ms (Views: 11.6ms | ActiveRecord: 0.4ms)

Actions #1

Updated by Joseph Magen over 11 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Joseph Magen
Actions #2

Updated by Anonymous over 11 years ago

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

Also available in: Atom PDF