Bug #1992
closedNULL value in vlanid on subnets table raise an error
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)
Updated by Joseph Magen about 12 years ago
- Status changed from New to Ready For Testing
- Assignee set to Joseph Magen
Updated by Anonymous about 12 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 9f9effa8b4dba071ae2c6d68c87d61502beb76d5.