deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Fojtik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DTACLOUD-540) Unable to mount Deltacloud::API using Rack::MockSession
Date Tue, 09 Apr 2013 19:34:16 GMT
Michal Fojtik created DTACLOUD-540:
--------------------------------------

             Summary: Unable to mount Deltacloud::API using Rack::MockSession 
                 Key: DTACLOUD-540
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-540
             Project: DeltaCloud
          Issue Type: Bug
            Reporter: Michal Fojtik
            Assignee: Michal Fojtik
            Priority: Blocker


The current (1.1.2) DC cannot be used for 'MockSession' [1] approach.
If you use 1.1.2 gem, the following error is raised:

$ rake console
undefined method `has_feature?' for NilClass:Class
/home/mfojtik/code/deltacloud-client/lib/deltacloud/server.rb:26:in `initialize'
/home/mfojtik/code/deltacloud-client/lib/deltacloud/client/connection.rb:93:in `cache_entrypoint!'
/home/mfojtik/code/deltacloud-client/lib/deltacloud/client/connection.rb:41:in `initialize'
/home/mfojtik/code/deltacloud-client/lib/deltacloud/client.rb:95:in `new'
/home/mfojtik/code/deltacloud-client/lib/deltacloud/client.rb:95:in `Client'
/home/mfojtik/code/deltacloud-client/lib/deltacloud/client.rb:68:in `Connect'
/home/mfojtik/code/deltacloud-client/Rakefile:71:in `block in <top (required)>'

This error was originally reported by mpovolny. Thanks!

--
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

Mime
View raw message