Author: Shu Muto <shu.mu...@gmail.com>
Date: Tue Apr 3 17:40:27 2018 +0900
Pass whole selected entity to deleteEntity callback
For now, delete-modal service passes only ID to deleteEntity callback.
Some plugins need other parameters to delete entity.
So this patch passes whole selected entity to callback as second argument.
** Changed in: horizon
Status: In Progress => Fix Released
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
delete-modal passes only ID to callback
Status in OpenStack Dashboard (Horizon):
Angular-based dialog for confirming deletion passes only ID to
callback in deletion action service of each panel.
If the API does not accept ID on deletion or other operations, e.g.
quota management on magnum API that needs composite key with
project_id and resource, the panel needs to retrieve list and to
filter by ID on callback. So passing a whole object makes sense.
To enable to pass whole entity of selected item, we can pass it as
second parameter for callback.
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp