On App Versions view, the below warnings about undefined props can be seen. These props are passed to the view properly as they render ok, but it appears the propType check returns early and they are not yet defined when it does.
Relevant lines of code: [here|https://github.com/aerogear/mobile-security-service/blob/master/ui/src/components/appView/AppOverview.js#L30] & [here|https://github.com/aerogear/mobile-security-service/blob/master/ui/src/components/appView/AppToolbar.js#L49]
Console warnings:
{code:java} index.js:1446 Warning: Failed prop type: The prop `app.appId` is marked as required in `AppOverview`, but its value is `undefined`. in AppOverview (at AppPageContainer.js:98) in AppPageContainer (created by Context.Consumer) in Connect(AppPageContainer) (created by Route) in Route (created by withRouter(Connect(AppPageContainer))) in withRouter(Connect(AppPageContainer)) (created by Route) in Route (at App.js:15) in Switch (at App.js:13) in div (at App.js:12) in Router (created by BrowserRouter) in BrowserRouter (at App.js:11) in App (at src/index.js:19) in Provider (at src/index.js:18) console.(anonymous function) @ index.js:1446 printWarning @ checkPropTypes.js:21 checkPropTypes @ checkPropTypes.js:76 validatePropTypes @ react.development.js:1716 createElementWithValidation @ react.development.js:1809 render @ AppPageContainer.js:97 finishClassComponent @ react-dom.development.js:14970 updateClassComponent @ react-dom.development.js:14925 beginWork @ react-dom.development.js:15831 performUnitOfWork @ react-dom.development.js:19736 workLoop @ react-dom.development.js:19777 renderRoot @ react-dom.development.js:19857 performWorkOnRoot @ react-dom.development.js:20802 performWork @ react-dom.development.js:20712 performSyncWork @ react-dom.development.js:20686 interactiveUpdates$1 @ react-dom.development.js:20974 interactiveUpdates @ react-dom.development.js:2267 dispatchInteractiveEvent @ react-dom.development.js:5072 {code} {code:java} index.js:1446 Warning: Failed prop type: The prop `app.appName` is marked as required in `AppToolbar`, but its value is `undefined`. in AppToolbar (created by Route) in Route (created by withRouter(AppToolbar)) in withRouter(AppToolbar) (at AppPageContainer.js:91) in div (at AppPageContainer.js:89) in AppPageContainer (created by Context.Consumer) in Connect(AppPageContainer) (created by Route) in Route (created by withRouter(Connect(AppPageContainer))) in withRouter(Connect(AppPageContainer)) (created by Route) in Route (at App.js:15) in Switch (at App.js:13) in div (at App.js:12) in Router (created by BrowserRouter) in BrowserRouter (at App.js:11) in App (at src/index.js:19) in Provider (at src/index.js:18) {code} |
|