[ 
https://issues.apache.org/jira/browse/DTACLOUD-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michal Fojtik closed DTACLOUD-396.
----------------------------------

    Resolution: Invalid
      Assignee: Michal Fojtik

This bug should be now fixed. We don't support 1.8 MRI anyway, so closing as 
INVALID.
                
> Random order of XML elements in CIMI (MRI 1.8)
> ----------------------------------------------
>
>                 Key: DTACLOUD-396
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-396
>             Project: DeltaCloud
>          Issue Type: Bug
>            Reporter: Michal Fojtik
>            Assignee: Michal Fojtik
>
> Hi,
> Today I saw something like this when I accidentally kept running DC on 1.8.7 
> ruby:
> GET /api/machines
> ...snip...
> <Machine>
> <state>STARTED</state>
> <id>http://localhost:3001/cimi/machines/inst6</id>
> <volumes href="http://localhost:3001/cimi/machines/inst6/volumes"; />
> <description>No description set for Machine myDatabaseMachine</description>
> <cpu>1</cpu>
> <created>2012-12-11T14:33:01+01:00</created>
> <property key="credential">http://localhost:3001/cimi/credentials</property>
> <property 
> key="machine_image">http://localhost:3001/cimi/machine_images/img1</property>
> <name>myDatabaseMachine</name>
> <disks href="http://localhost:3001/cimi/machines/inst6/disks"; />
> <memory>1782579</memory>
> <operation href="http://localhost:3001/cimi/machines/inst6/restart"; 
> rel="http://schemas.dmtf.org/cimi/1/action/restart"; />
> <operation href="http://localhost:3001/cimi/machines/inst6/stop"; 
> rel="http://schemas.dmtf.org/cimi/1/action/stop"; />
> <operation href="http://localhost:3001/cimi/machine_images"; 
> rel="http://schemas.dmtf.org/cimi/1/action/capture"; />
> </Machine>
> ...snip....
> Seems like the order of XML elements is random, I guess it has something todo 
> with Ruby 1.8 lack of OrderedHash. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to