Open Vilscon opened 6 years ago
Hey Vilscon, I cannot reproduce you error. Could you submit a test project?
Hi Martijn, this crashes (I tried Mx 8.10.2 and 8.12.1) with
MyFirstModule.TestEntity_NewEdit.dataView5: Error while applying context Error: MyFirstModule.TestEntity_NewEdit.bootstrapInputAddons1: Error while applying context Error: MyFirstModule.TestEntity_NewEdit.bootstrapInputAddons1: Error while applying context TypeError: this._contextObj.isCurrency is not a function Error: MyFirstModule.TestEntity_NewEdit.dataView5: Error while applying context Error: MyFirstModule.TestEntity_NewEdit.bootstrapInputAddons1: Error while applying context Error: MyFirstModule.TestEntity_NewEdit.bootstrapInputAddons1: Error while applying context TypeError: this._contextObj.isCurrency is not a function.
Could you solve this? Cheers, Boris
Disclaimer: Although I run 771 and run 1.0.7 of the add-on, I've tested both 107 on 790 and 108 on 790 and both produce the error.
The error: For some, yet unexplainable reason my pages (wizard) crash when I have a decimal attribute and input something else than a decimal (i.e. a letter or a dot decimal (instead of comma)). The close page (X) and next button all get disabled and the microflow behind them doesn't get fired at all. When I change the widget to the standard textbox there is no problem and everything runs fine.
There are no further special microflows or eventhandlers, so somewhere in the custom widget there is some logic that is breaking Mendix.
Three side notes:
If you correct the number (i.e "0.33" → "0,33") and then press the, somehow solely not disabled, back button (which closes the page) and press next to come back (reopens the page), the next button is working correctly again.
Fixing the bug on 1.0.8 will probably fix it as well for 1.0.7. Is there a possibility therefor to have a bug fix for 1.0.7. as for development reasons we cannot upgrade to 7.9 at this very moment. Will do soon though - And we're probably not alone :)
I say the microflow doesn't get fired, because I set a breakpoint on the first activity and the debugger doesn't start. The microflow thus doesn't even start.
Update I noticed that the 'close page' button becomes enabled again when the 'error' is fixed (e.g. The number is valid again). Somehow the custom microflow button however remains disabled.