Bug #2432

Template editing wizard improvements

Added by Rolandas Naujikas over 7 years ago. Updated over 7 years ago.

Status:ClosedStart date:11/06/2013
Priority:NormalDue date:
Assignee:Daniel Molina% Done:

100%

Category:Sunstone
Target version:Release 4.4
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.2

Description

Currently when I select template, created manually with IMAGE="name",IMAGE_UNAME="user" or NETWORK="name",NETWORK_UNAME="user", in wizard it fills values but don't select current image or network.

I'm attaching a probable patch.

patch-templates-tab.js (3.8 KB) Rolandas Naujikas, 11/06/2013 01:54 PM

Associated revisions

Revision 0f3a7624
Added by Daniel Molina over 7 years ago

bug #2432: Select network/image in the template update wizard when provided using IMAGE and IMAGE_UNAME
Contributed by Rolandas Naujikas
TODO: Support IMAGE and IMAGE_UID also

Revision 388c4f8b
Added by Daniel Molina over 7 years ago

bug #2432: Update table layout when the image/network is provided using IMAGE and IMAGE_UNAME

Revision 432c5388
Added by Daniel Molina over 7 years ago

bug #2432: Update table layout when the image/network is provided using IMAGE and IMAGE_UNAME
(cherry picked from commit 388c4f8b0f80c842fadf54e3ea399954fa6159bf)

Revision f5c5665c
Added by Daniel Molina over 7 years ago

bug #2432: Select network/image in the template update wizard when provided using IMAGE and IMAGE_UNAME
Contributed by Rolandas Naujikas
TODO: Support IMAGE and IMAGE_UID also
(cherry picked from commit 0f3a76242545e5f595db0b8817f16037cc2b37ae)

History

#1 Updated by Ruben S. Montero over 7 years ago

  • Status changed from Pending to New
  • Target version set to Release 4.4

#2 Updated by Daniel Molina over 7 years ago

  • Status changed from New to Closed
  • Assignee set to Daniel Molina
  • % Done changed from 0 to 100
  • Resolution set to fixed

Hi Rolandas,

Thank you for your contribution.
I have included your patch in master and one-4.4 branches. I have also included some code to update the table layout. Currently it's not possible to do the same when the resource is specified using the UID instead of the UNAME, since the UID is not included in the datatable info. Maybe, we can consider including it for one-4.6

Also available in: Atom PDF