You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Dies Koper (JIRA)" <ji...@apache.org> on 2012/06/25 09:28:42 UTC

[jira] [Created] (DTACLOUD-243) FGCP: error when listing FW with no rules

Dies Koper created DTACLOUD-243:
-----------------------------------

             Summary: FGCP: error when listing FW with no rules
                 Key: DTACLOUD-243
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-243
             Project: DeltaCloud
          Issue Type: Bug
          Components: Server
         Environment: current source trunk (eq. to DC 1.0.0?)
            Reporter: Dies Koper
            Priority: Minor


http://localhost:3001/api/firewalls?format=xml 

gives 

NoMethodError - undefined method `each' for nil:NilClass:
        d:/sources/OSS/cloud/deltacloud/server/lib/deltacloud/./../../views/firewalls/index.xml.haml:19:in `evaluate_source'
        d:/sources/OSS/cloud/deltacloud/server/lib/deltacloud/./../../views/firewalls/index.xml.haml:3:in `each'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

RE: [jira] [Updated] (DTACLOUD-243) FGCP: error when listing FW with no rules

Posted by "Koper, Dies" <di...@fast.au.fujitsu.com>.
Bump
(can't easily see if it's been pushed already but at least the issue report doesn't indicate so)

Regards,
Dies Koper


> -----Original Message-----
> From: Dies Koper (JIRA) [mailto:jira@apache.org]
> Sent: Monday, 25 June 2012 5:31 PM
> To: dev@deltacloud.apache.org
> Subject: [jira] [Updated] (DTACLOUD-243) FGCP: error when listing FW with
> no rules
> 
> 
>      [ https://issues.apache.org/jira/browse/DTACLOUD-
> 243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Dies Koper updated DTACLOUD-243:
> --------------------------------
> 
>     Attachment: 0001-FGCP-prevent-error-when-listing-firewall-with-no-
> rul.patch
> 
> patch that specifies an empty array ([]) for the FW rules to prevent an
> 'undefined method' error.
> 
> > FGCP: error when listing FW with no rules
> > -----------------------------------------
> >
> >                 Key: DTACLOUD-243
> >                 URL: https://issues.apache.org/jira/browse/DTACLOUD-243
> >             Project: DeltaCloud
> >          Issue Type: Bug
> >          Components: Server
> >         Environment: current source trunk (eq. to DC 1.0.0?)
> >            Reporter: Dies Koper
> >            Priority: Minor
> >         Attachments: 0001-FGCP-prevent-error-when-listing-firewall-with-
> no-rul.patch
> >
> >
> > http://localhost:3001/api/firewalls?format=xml
> > gives
> > NoMethodError - undefined method `each' for nil:NilClass:
> >
> d:/sources/OSS/cloud/deltacloud/server/lib/deltacloud/./../../views/firewal
> ls/index.xml.haml:19:in `evaluate_source'
> >
> d:/sources/OSS/cloud/deltacloud/server/lib/deltacloud/./../../views/firewal
> ls/index.xml.haml:3:in `each'
> 
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators:
> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
> 
> 


[jira] [Updated] (DTACLOUD-243) FGCP: error when listing FW with no rules

Posted by "Dies Koper (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dies Koper updated DTACLOUD-243:
--------------------------------

    Attachment: 0001-FGCP-prevent-error-when-listing-firewall-with-no-rul.patch

patch that specifies an empty array ([]) for the FW rules to prevent an 'undefined method' error.
                
> FGCP: error when listing FW with no rules
> -----------------------------------------
>
>                 Key: DTACLOUD-243
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-243
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: current source trunk (eq. to DC 1.0.0?)
>            Reporter: Dies Koper
>            Priority: Minor
>         Attachments: 0001-FGCP-prevent-error-when-listing-firewall-with-no-rul.patch
>
>
> http://localhost:3001/api/firewalls?format=xml 
> gives 
> NoMethodError - undefined method `each' for nil:NilClass:
>         d:/sources/OSS/cloud/deltacloud/server/lib/deltacloud/./../../views/firewalls/index.xml.haml:19:in `evaluate_source'
>         d:/sources/OSS/cloud/deltacloud/server/lib/deltacloud/./../../views/firewalls/index.xml.haml:3:in `each'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (DTACLOUD-243) FGCP: error when listing FW with no rules

Posted by "Marios Andreou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marios Andreou closed DTACLOUD-243.
-----------------------------------

    
> FGCP: error when listing FW with no rules
> -----------------------------------------
>
>                 Key: DTACLOUD-243
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-243
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: current source trunk (eq. to DC 1.0.0?)
>            Reporter: Dies Koper
>            Assignee: Marios Andreou
>            Priority: Minor
>         Attachments: 0001-FGCP-prevent-error-when-listing-firewall-with-no-rul.patch
>
>
> http://localhost:3001/api/firewalls?format=xml 
> gives 
> NoMethodError - undefined method `each' for nil:NilClass:
>         d:/sources/OSS/cloud/deltacloud/server/lib/deltacloud/./../../views/firewalls/index.xml.haml:19:in `evaluate_source'
>         d:/sources/OSS/cloud/deltacloud/server/lib/deltacloud/./../../views/firewalls/index.xml.haml:3:in `each'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (DTACLOUD-243) FGCP: error when listing FW with no rules

Posted by "Marios Andreou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marios Andreou resolved DTACLOUD-243.
-------------------------------------

    Resolution: Fixed
      Assignee: Marios Andreou

ACK - good catch. pushed to master with commit hash:

cb7e5ae85d934c6b5651b241e8fd03aab89b5ff9
                
> FGCP: error when listing FW with no rules
> -----------------------------------------
>
>                 Key: DTACLOUD-243
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-243
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: current source trunk (eq. to DC 1.0.0?)
>            Reporter: Dies Koper
>            Assignee: Marios Andreou
>            Priority: Minor
>         Attachments: 0001-FGCP-prevent-error-when-listing-firewall-with-no-rul.patch
>
>
> http://localhost:3001/api/firewalls?format=xml 
> gives 
> NoMethodError - undefined method `each' for nil:NilClass:
>         d:/sources/OSS/cloud/deltacloud/server/lib/deltacloud/./../../views/firewalls/index.xml.haml:19:in `evaluate_source'
>         d:/sources/OSS/cloud/deltacloud/server/lib/deltacloud/./../../views/firewalls/index.xml.haml:3:in `each'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira