Bug #1061
CLI with REXML (not NOKOGIRI installed) doesn't deal well with empty XML fields
Status: | Closed | Start date: | 01/13/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Daniel Molina | % Done: | 100% | |
Category: | CLI | |||
Target version: | Release 3.2 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 3.2 |
Description
Like <FSTYPE/>, produces an error:
--
cli (master) $ oneimage show 1
IMAGE 1 INFORMATION
ID : 1
NAME : Ubuntu-User
USER : tinova
GROUP : MyVDC
TYPE : OS
REGISTER TIME : 01/13 08:28:43
PERSISTENT : No
SOURCE :
PATH : /etc/hosts"
./one_helper/oneimage_helper.rb:71:in `format_resource': undefined method `empty?' for nil:NilClass (NoMethodError)
from ./one_helper.rb:123:in `show_resource'
from /home/oneadmin/nebula.git/neno_1/bin/oneimage:229
from ./command_parser.rb:173:in `call'
from ./command_parser.rb:173:in `run'
from ./command_parser.rb:79:in `initialize'
from /home/oneadmin/nebula.git/neno_1/bin/oneimage:33:in `new'
from /home/oneadmin/nebula.git/neno_1/bin/oneimage:33
--
Associated revisions
bug #1061: Fix oneimage show
History
#1 Updated by Daniel Molina over 9 years ago
- Category set to CLI
- Status changed from New to Closed
- Assignee set to Daniel Molina
- Target version set to Release 3.2
- % Done changed from 0 to 100
- Resolution set to fixed