Bug #26394
closedwhen changing location user looses all navigation menus
Description
using foreman 1.21.0 and Katello 3.11 change location causes all navigation menus to disappear
Here is the error that is seen in firefox's dev console.
TypeError: "a.locations.available_locations.find(...) is undefined"
value Layout.js:38 Wi8React
n i18nProviderWrapperFactory.js:18 i es6.promise.js:66 O es6.promise.js:83 c _microtask.js:18
react-dom.production.min.js:187:139
Lo12React
n i18nProviderWrapperFactory.js:18 i es6.promise.js:66 O es6.promise.js:83 c _microtask.js:18
Unhandled promise rejection TypeError: "a.locations.available_locations.find(...) is undefined"
value Layout.js:38 Wi8React
n i18nProviderWrapperFactory.js:18 i es6.promise.js:66 O es6.promise.js:83 c _microtask.js:18
es6.promise.js:101
t es6.promise.js:101 exports _perform.js:3 P es6.promise.js:95 exports _invoke.js:5 <anonymous> _task.js:35 y _task.js:21 v _task.js:25
Files
Updated by Tomer Brisker about 6 years ago
- Related to Task #23445: Change vertical menu to react implementation added
Updated by Tomer Brisker about 6 years ago
- Category set to Web Interface
- Target version set to 1.21.1
Updated by Gilad Lekner about 6 years ago
Joseph Boyer wrote:
using foreman 1.21.0 and Katello 3.11 change location causes all navigation menus to disappear
Here is the error that is seen in firefox's dev console.
TypeError: "a.locations.available_locations.find(...) is undefined"
value Layout.js:38 Wi8React
n i18nProviderWrapperFactory.js:18 i es6.promise.js:66 O es6.promise.js:83 c _microtask.js:18
react-dom.production.min.js:187:139
Lo12React
n i18nProviderWrapperFactory.js:18 i es6.promise.js:66 O es6.promise.js:83 c _microtask.js:18
Unhandled promise rejection TypeError: "a.locations.available_locations.find(...) is undefined"
value Layout.js:38 Wi8React
n i18nProviderWrapperFactory.js:18 i es6.promise.js:66 O es6.promise.js:83 c _microtask.js:18
es6.promise.js:101
t es6.promise.js:101 exports _perform.js:3 P es6.promise.js:95 exports _invoke.js:5 <anonymous> _task.js:35 y _task.js:21 v _task.js:25
Using 1.21 and 3.11 on Katello, can't seem to reproduce this bug. any specific steps?
Updated by Walden Raines about 6 years ago
- Status changed from New to Need more information
Updated by Joseph Boyer about 6 years ago
Updated by Gilad Lekner about 6 years ago
File Screenshot 2019-03-21 at 18.18.07.png Screenshot 2019-03-21 at 18.18.07.pngScreenshot 2019-03-21 at 18.18.07.png added
Hi Joseph, Can you please provide a Video of reproducing this? Also which version of firefox are you using?
I can't reproduce this bug right now, using 1.21, 3.11.0 and Firefox 66.0.1
Updated by The Foreman Bot about 6 years ago
- Status changed from Need more information to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6613 added
Updated by Tomer Brisker about 6 years ago
- Fixed in Releases 1.20.3, 1.21.1, 1.22.0 added
Updated by Anonymous about 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset c8e0380e6dfac8be456520e13651da18dc48d57f.