Cannot read property 'baseUrl' of undefined
hrz11 opened this issue · comments
angular.js:14642 TypeError: Cannot read property 'baseUrl' of undefined
at new controller (formio.js:15713)
at Object.invoke (angular.js:5040)
at $controllerInit (angular.js:10960)
at nodeLinkFn (angular.js:9840)
at compositeLinkFn (angular.js:9149)
at compositeLinkFn (angular.js:9152)
at publicLinkFn (angular.js:9014)
at lazyCompilation (angular.js:9405)
at boundTranscludeFn (angular.js:9192)
at controllersBoundTransclude (angular.js:9959)
different line now 15713 :)
there may be more of those...
Jet another error:
TypeError: Cannot read property 'baseUrl' of undefined
at new formioComponentsProvider.register.controller (formio.js:17014)
at Object.instantiate (angular.js:5055)
at $controller (angular.js:10975)
at new controller (formio.js:18668)
at Object.invoke (angular.js:5040)
at $controllerInit (angular.js:10960)
at nodeLinkFn (angular.js:9840)
at angular.js:10248
at processQueue (angular.js:17000)
at angular.js:17044
Do you have a Select component selecting from a resource? Looks like that case may still need bulletproofing.
I'm building and testing a fix for that case. Will create pull request when it passes test.
yes, this is from Select component :)
Thanks!
Happy to help. Hope the fix works for you. I think I was only seeing the error in the builder preview.
Looks ok now :)
Happy to hear that :)