Re: [Openstack] [openstack-dev] [Horizon] tables.DeleteAction not working

2012-11-12 Thread Gabriel Hurley
For questions like that it would be *very* helpful if you could post your code 
somewhere (github/gerrit). Debugging them otherwise is basically shooting in 
the dark.


-  Gabriel

From: Srikanth Kumar Lingala [mailto:srikanthkumar.ling...@gmail.com]
Sent: Monday, November 12, 2012 11:51 AM
To: openstack@lists.launchpad.net; openstack-...@lists.openstack.org
Subject: [openstack-dev] [Horizon] tables.DeleteAction not working

Hi,
I created a custom table in Quantum DB, and getting rows from that, and show as 
Table in Horizon.
For each row, I put only action 'Delete', and called subsequent class for eg. 
'DeleteRow(tables.DeleteAction)'. In this, I wrote 'delete' function, in which 
I am calling quantum API to delete the row from DB.
But, however, If I click DeleteRow button in horizon,  'delete()' function in 
the class is not triggering. And, as a result, row is not deleting from DB. I 
am not getting any kind of error logs in nova-api.log, apache error logs ..etc.
Can anyone suggest, what went wrong?

Thanks in advance.

--

Srikanth.

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [openstack-dev] [Horizon] tables.DeleteAction not working

2012-11-12 Thread Srikanth Kumar Lingala
Ok .. I will post there ...

Srikanth.

On Mon, Nov 12, 2012 at 2:06 PM, Gabriel Hurley
gabriel.hur...@nebula.comwrote:

  For questions like that it would be **very** helpful if you could post
 your code somewhere (github/gerrit). Debugging them otherwise is basically
 shooting in the dark.

 ** **

 **-  **Gabriel

 ** **

 *From:* Srikanth Kumar Lingala [mailto:srikanthkumar.ling...@gmail.com]
 *Sent:* Monday, November 12, 2012 11:51 AM
 *To:* openstack@lists.launchpad.net; openstack-...@lists.openstack.org
 *Subject:* [openstack-dev] [Horizon] tables.DeleteAction not working

 ** **

 Hi,
 I created a custom table in Quantum DB, and getting rows from that, and
 show as Table in Horizon.
 For each row, I put only action 'Delete', and called subsequent class for
 eg. 'DeleteRow(tables.DeleteAction)'. In this, I wrote 'delete' function,
 in which I am calling quantum API to delete the row from DB.
 But, however, If I click DeleteRow button in horizon,  'delete()' function
 in the class is not triggering. And, as a result, row is not deleting from
 DB. I am not getting any kind of error logs in nova-api.log, apache error
 logs ..etc.
 Can anyone suggest, what went wrong?

 Thanks in advance.

 --
 

 Srikanth.

 ** **

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




-- 

Srikanth.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp