[
https://issues.apache.org/jira/browse/DTACLOUD-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13685022#comment-13685022
]
Michal Fojtik commented on DTACLOUD-566:
----------------------------------------
Initial fixes: https://github.com/deltacloud/deltacloud-core/pull/48
First issue is that dependency loading from Client app was broken, because we
were requiring deltacloud-core but without Gemfile.
I fixed this by requiring the 'deltacloud-core' gemspec, which should load all
dependencies.
Second issue was that *Collection classes were not initialized properly, but
they are 'generated' once they are needed.
I can't remember who introduced this change, but I fixed that in on entity
using 'collection_class_for' helper.
> cimi: client UI returning ininitialized constant
> CIMI::Model::MachineImageCollection for machines
> -------------------------------------------------------------------------------------------------
>
> Key: DTACLOUD-566
> URL: https://issues.apache.org/jira/browse/DTACLOUD-566
> Project: DeltaCloud
> Issue Type: Bug
> Components: CIMI/Webapp
> Environment: Win7 64 bit, MRI1.9.3, mock driver
> Reporter: Dies Koper
> Assignee: Martha Chumo
>
> When I click on 'machines', I get the following error.
> 127.0.0.1 - - [03/Jun/2013 21:59:27] "GET
> /bootstrap/js/bootstrap-dropdown.js HTTP/1.1" 200 - 0.0400
> NameError - uninitialized constant CIMI::Model::MachineImageCollection:
>
> d:/sources/OSS/cloud/deltacloud-core/clients/cimi/lib/entities/machine.r
> b:41:in `block in <class:Machine>'
>
> D:/Programs/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.2/lib/sinatra/b
> ase.rb:1415:in `call'
> ...
--
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