Hide Forgot
Description of problem: on /console page, user projects are listed. When user create new project via CLI, click on “OPENSHIFT ORIGIN”logo didn't send ‘GET projectrequests‘ to get latest user projects. Version-Release number of selected component (if applicable): fork_ami_openshift3_userinterface_public_555_178 How reproducible: Always Steps to Reproduce: 1.open /console page when user have no project 2.create new project via CLI # oc new-project test 3.click "OPENSHIFT ORIGIN" logo Actual results: 3. no project listed on /console page Expected results: 3. project "test" should be listed on /console page Additional info:
@spadgett The logo link doesn't refresh the page, thus any new projects created via the cli won't display just by clicking the link. What are your thoughts on handling this?
Steve, did the ID on the logo change? We have a special handler in JS for this: $('#openshift-logo').on('click.projectsPage', function() { // Force a reload. Angular doesn't reload the view when the URL doesn't change. $route.reload(); }); ... $scope.$on('$destroy', function(){ // The click handler is only necessary on the projects page. $('#openshift-logo').off('click.projectsPage'); });
We should add a comment in the HTML saying there's a click handler for that ID.
Fixed in https://github.com/openshift/origin/pull/6663
(In reply to Steve Goodwin from comment #4) > Fixed in https://github.com/openshift/origin/pull/6663 which image shall i use to verify the bug? didn't see new fork_ami
The origin pull request just merged.
verified on devenv-rhel7_3313, works as expected