Reviewed: https://review.openstack.org/316307 Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=f3825a5ff1bf927353a309812a7edb2afb543370 Submitter: Jenkins Branch: master
commit f3825a5ff1bf927353a309812a7edb2afb543370 Author: Vijay Katam <vijka...@cisco.com> Date: Fri May 13 11:00:36 2016 -0700 Fix project name refresh in project menu bar When makes an inline update to a project name the name in the menu bar does not get updated after reloading/refreshing the page. This happens because the menu display is retrieved from a token in the session which does not get updated until a switch to a different project is made. This fix addresses this issue by retrieving project name from the request context variable authorized_tenants which has updated information instead of session. Fix doc string to confirm to pep8. Update template tests to account for tenant name in menu bar. Tests are not setting session variable for tenant name so previosuly template did not render active tenant name, this fix does not use session anymore so tests need to account for it. Change-Id: Ia0d5b51699197904d1a578d188762ef39a4b67cf Closes-Bug: 1519577 ** 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). https://bugs.launchpad.net/bugs/1519577 Title: project drop down menu reflect rename project immediately Status in OpenStack Dashboard (Horizon): Fix Released Bug description: As admin, I'm member of 'admin' and 'demo' project. If I rename 'demo' to 'demo_renamed', it's listed in Identity - Projects correctly, reflecting latest change. But it's not working for project drop down menu in top bar. Even after refresh there is still old value, so just 'demo'. It's still working, because (by URL) project is identified by UUID, and not name. When I do switch to this renamed project, it also refresh items in this drop down menu. To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1519577/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp