Bug #4220

Update group does not remember selected views

Added by EOLE Team over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:12/02/2015
Priority:NormalDue date:
Assignee:Daniel Molina% Done:

100%

Category:Sunstone
Target version:Release 5.0
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.14

Description

Hello,

After updating our ONE to 4.14.2, I updated our Sunstone views and needed to change the Group Admins Views since vdcadmin became groupadmin.

Here is how to reproduce the problemĀ :

  1. select a group
  2. click update to modify
  3. select the enabled views for users and admins and define the defaults views for each
  4. click update to save
  5. select the same group
  6. click update to modify

The selected views are not displayed any more even if the interface list the correct ones under Group Admins Views and Group Users Views at step 5.

Associated revisions

Revision 2970469f
Added by Daniel Molina over 5 years ago

bug #4220: Fix fill checkbox in Firefox

Revision 79be9e1f
Added by Daniel Molina over 5 years ago

bug #4220: Fix fill checkbox in Firefox

History

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

  • Target version set to Release 5.0

#2 Updated by Daniel Molina over 5 years ago

  • Assignee set to Daniel Molina

#3 Updated by Daniel Molina over 5 years ago

  • Status changed from Pending to Closed
  • Resolution set to worksforme

I cannot reproduce it, tested in branch one-4.14 and master

#4 Updated by EOLE Team over 5 years ago

Daniel Molina wrote:

I cannot reproduce it, tested in branch one-4.14 and master

We tested with another brother in safe-mode (without any plugins) and it's the same.

Here is the JSON response of the http://one.eole.lan/group/103?id=103&csrftoken=81a5852ee772a4cb8ff058414a56fff8 query:

{
  "GROUP": {
    "ID": "103",
    "NAME": "envole",
    "TEMPLATE": {
      "DEFAULT_VIEW": "eole-cloud",
      "GROUP_ADMIN_DEFAULT_VIEW": "eole-groupadmin",
      "GROUP_ADMIN_VIEWS": "eole-user,eole-cloud,eole-groupadmin",
      "SUNSTONE_VIEWS": "eole-user,eole-cloud" 
    },
    "USERS": {
      "ID": "31" 
    },
    "ADMINS": {
      "ID": "31" 
    },
    "DATASTORE_QUOTA": {
    },
    "NETWORK_QUOTA": {
    },
    "VM_QUOTA": {
      "VM": {
        "CPU": "-1",
        "CPU_USED": "0",
        "MEMORY": "-1",
        "MEMORY_USED": "0",
        "SYSTEM_DISK_SIZE": "-1",
        "SYSTEM_DISK_SIZE_USED": "0",
        "VMS": "-1",
        "VMS_USED": "0" 
      }
    },
    "IMAGE_QUOTA": {
    },
    "DEFAULT_GROUP_QUOTAS": {
      "DATASTORE_QUOTA": {
      },
      "NETWORK_QUOTA": {
      },
      "VM_QUOTA": {
      },
      "IMAGE_QUOTA": {
      }
    }
  }
}

But I have nothing in the debug console.

NB: I needed to update main.js to add custom logos (thanks for #3495), coud it be related to something wrong with it?

#5 Updated by Ruben S. Montero over 5 years ago

  • Status changed from Closed to Pending

#6 Updated by EOLE Team over 5 years ago

Hello,

For information, we are using the Trusty packages.

Regards.

#7 Updated by Daniel Molina over 5 years ago

  • Status changed from Pending to New
  • % Done changed from 0 to 100
  • Resolution changed from worksforme to fixed

Ok, I found out the problem. In Chrome is working, the problem was with Firefox. I have just pushed a commit to fix it

#8 Updated by Daniel Molina over 5 years ago

  • Status changed from New to Closed

#9 Updated by EOLE Team over 5 years ago

Daniel Molina wrote:

Ok, I found out the problem. In Chrome is working, the problem was with Firefox. I have just pushed a commit to fix it

Thanks, and sorry I to not mention my browser.

Regards.

Also available in: Atom PDF