Skip to content

Page crashes on 'invalid number' error #7

@Vilscon

Description

@Vilscon

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:

  1. 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.

  2. 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 :)

  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions