-
Notifications
You must be signed in to change notification settings - Fork 364
Open
Description
Summary: The edit form for the My settings page isn't saving the start page correctly.
I set start page to utilization. See below:
It's saved. If I leave the page and come back, it's still correctly showing Overview/Utilization.
If I log out and log back in, it still shows Dashboard.
If I check the user settings, it's because the value is set incorrectly:
vmdb(dev)> User.first.settings[:display][:startpage]
=> {:value=>"/utilization", :label=>"Overview / Utilization"}
If I change it to:
"/utilization", and log in again, it works:
vmdb(dev)> u = User.first; u.settings[:display][:startpage] = u.settings[:display][:startpage][:value]; puts u.update(:settings => u.settings)
true
=> nil
vmdb(dev)> User.first.settings[:display][:startpage]
=> "/utilization"
vmdb(dev)>