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/04/30 14:46:53 UTC

[jira] [Created] (DTACLOUD-201) FW deletion link in GUI uses FW name instead of id in url

Dies Koper created DTACLOUD-201:
-----------------------------------

             Summary: FW deletion link in GUI uses FW name instead of id in url
                 Key: DTACLOUD-201
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-201
             Project: DeltaCloud
          Issue Type: Bug
          Components: Server
            Reporter: Dies Koper
            Assignee: David Lutterkort
         Attachments: 0001-Fixed-FW-deletion-link-should-use-id-instead-of-name.patch

FW deletion link in GUI uses FW name instead of id in url:

link_to_action "Delete", "#{firewall_url(@firewall.name)}/#{rule.id}", :delete

That works for EC2, for which the name and id are the same, but not for FGCP.

--
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-201) FW deletion link in GUI uses FW name instead of id in url

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

Ronelle Landy closed DTACLOUD-201.
----------------------------------


Verified that this issue is fixed in deltacloud git commit version: 5aa335beff48436fa913d0c145bfe9169f3a8342 :

 cat /server/views/firewalls/show.html.haml shows:

 %div{ :'data-role' => 'controlgroup', :'data-type' => "horizontal" }
        =link_to_action "Destroy", destroy_firewall_url(@firewall.id), :delete
                
> FW deletion link in GUI uses FW name instead of id in url
> ---------------------------------------------------------
>
>                 Key: DTACLOUD-201
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-201
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>            Reporter: Dies Koper
>            Assignee: Michal Fojtik
>         Attachments: 0001-Fixed-FW-deletion-link-should-use-id-instead-of-name.patch
>
>
> FW deletion link in GUI uses FW name instead of id in url:
> link_to_action "Delete", "#{firewall_url(@firewall.name)}/#{rule.id}", :delete
> That works for EC2, for which the name and id are the same, but not for FGCP.

--
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-201) FW deletion link in GUI uses FW name instead of id in url

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

Michal Fojtik resolved DTACLOUD-201.
------------------------------------

    Resolution: Fixed
      Assignee: Michal Fojtik  (was: David Lutterkort)

ACK.

Pushed:

commit cc3dba2b793c66a96e9d71381dc1a918fcd87e75
Author: Dies Koper <di...@fast.au.fujitsu.com>
Date:   Mon Apr 30 22:40:59 2012 +1000

    Fixed FW deletion link (should use id instead of name in url)
                
> FW deletion link in GUI uses FW name instead of id in url
> ---------------------------------------------------------
>
>                 Key: DTACLOUD-201
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-201
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>            Reporter: Dies Koper
>            Assignee: Michal Fojtik
>         Attachments: 0001-Fixed-FW-deletion-link-should-use-id-instead-of-name.patch
>
>
> FW deletion link in GUI uses FW name instead of id in url:
> link_to_action "Delete", "#{firewall_url(@firewall.name)}/#{rule.id}", :delete
> That works for EC2, for which the name and id are the same, but not for FGCP.

--
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-201) FW deletion link in GUI uses FW name instead of id in url

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

Dies Koper updated DTACLOUD-201:
--------------------------------

    Attachment: 0001-Fixed-FW-deletion-link-should-use-id-instead-of-name.patch

Patch to fix it
                
> FW deletion link in GUI uses FW name instead of id in url
> ---------------------------------------------------------
>
>                 Key: DTACLOUD-201
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-201
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>            Reporter: Dies Koper
>            Assignee: David Lutterkort
>         Attachments: 0001-Fixed-FW-deletion-link-should-use-id-instead-of-name.patch
>
>
> FW deletion link in GUI uses FW name instead of id in url:
> link_to_action "Delete", "#{firewall_url(@firewall.name)}/#{rule.id}", :delete
> That works for EC2, for which the name and id are the same, but not for FGCP.

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