Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formloader in Mx 5.16.1 - Browser console error #1

Open
stephanbruijnis opened this issue Nov 26, 2015 · 1 comment
Open

Formloader in Mx 5.16.1 - Browser console error #1

stephanbruijnis opened this issue Nov 26, 2015 · 1 comment

Comments

@stephanbruijnis
Copy link

Hi Andries,

I read your comments on https://mxforum.mendix.com/questions/5813/FormLoader-for-Mendix-5, but I still have an issue with the formloader.

I've tried the various versions:
The company 'Flock of Birds' developed a version fox Mx5, If Mendix permits I post it on GitHub too. https://www.dropbox.com/s/dht3kjr5ol9jjy0/FormLoader.mpk
This generates an error in the browser console, and doesn't show the data.
mendix.sys.Data.get: error in handler for [50665495807919181] : FormLoader_widget_FormLoader_1.applyContext: TypeError: ioBind.addErrback is not a function

Newer version of mx 5 uses other version of dojo: https://www.dropbox.com/s/5nquoyleueos4s1/FormLoader.mpk
Generates several errors in the browser console, and prevents the application from actually finishing loading
mendix.sys.Data.get: error in handler for [1125899906844025] : mxui_widget_DataView_12.applyContext: Error: mxui_widget_DataView_13.applyContext: Error: mxui_widget_TabContainer_0.applyContext: Error: mxui_widget_TabContent_2.applyContext: Error: mxui_widget_DataView_15.applyContext: Error: mxui_widget_DataView_16.applyContext: Error: FormLoader_widget_FormLoader_0.applyContext: TypeError: Cannot read property 'mixin' of null
and
An error occurred while handling queued requests Error: FormLoader_widget_FormLoader_0.applyContext: TypeError: Cannot read property 'mixin' of null(…)
and
mendix.sys.Data.get: error in handler for [12103423998559609] : mxui_widget_TabContainer_0.applyContext: Error: mxui_widget_TabContent_2.applyContext: Error: mxui_widget_DataView_15.applyContext: Error: mxui_widget_DataView_16.applyContext: Error: FormLoader_widget_FormLoader_0.applyContext: TypeError: Cannot read property 'mixin' of null
and
mendix.sys.Data.get: error in handler for [50665495807919281] : FormLoader_widget_FormLoader_0.applyContext: TypeError: Cannot read property 'mixin' of null

And finally I tried the latest version from this Github (used the MPK in the Formloader-master\test\mx517\widgets folder). Which gave me the same errors as the one above:
mendix.sys.Data.get: error in handler for [1125899906844126] : mxui_widget_DataView_45.applyContext: Error: mxui_widget_DataView_46.applyContext: Error: mxui_widget_TabContainer_1.applyContext: Error: mxui_widget_TabContent_5.applyContext: Error: mxui_widget_DataView_48.applyContext: Error: mxui_widget_DataView_49.applyContext: Error: FormLoader_widget_FormLoader_1.applyContext: TypeError: Cannot read property 'mixin' of null
and
An error occurred while handling queued requests Error: FormLoader_widget_FormLoader_1.applyContext: TypeError: Cannot read property 'mixin' of null(…)
etc..

The Flock of Birds seems to have the least issues , but still doesn't show data and one error in the console. The other versions block the application (keeps loading) and generate a lot more errors in the browser console. Could help me with this? Any idea what could cause this problem?

The FormLoader is positioned in:
A data view which listens to a data grid.
The data view also has a Microflow Timer, this microflow timer creates objects used in the dataviews in the FormLoader.

With kind regards,
Stephan

@rtsonneveld
Copy link

I'm experiencing the same issue as Stephan, sometimes I get an error in the console:
mxui.js?635989271334185496:29 mendix.sys.Data.get: error in error handler for xpath //TimeRegistration.RegistrationRecords[TimeRegistration.RegistrationRecords_RegistrationWeek="24769797950538032"][TimeRegistration.RegistrationRecords_Employee = '[%CurrentUser%]'] : mxui_widget_DataView_32.applyContext: Error: FormLoader_widget_FormLoader_6.applyContext: TypeError: ioBind.addErrback is not a function (webcore.datasource.XPathSource)

I'm using this widget to avoid the limitation of not being able to edit values in a template grid using a snippet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants