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
Changing SpinWheelSlot properties hangs Maqetta #3409
Comments
Using Chrome on Mac going to maqetta.org |
@aerwin - could you please try again and provide extra details? I tried to reproduce and couldn't get things to hang, either locally or at maqetta.org. What exact values did you try to enter into which properties? I did see a couple of bugs, but no hangs. |
Sure... guess maybe it's more specific to certain actions than I initially thought... Here's one that consistently hangs for me...
|
-> M8 @jhpedemonte. Too hard to fix for M7.0.1. We will just have to hope no users put an empty string value for SpinWheelSlot @peller @billreed63 @doronrosenberg @jhpedemonte Here is the reason for the hang. If an empty string is passed into SpinWheelSlot.js, I'm seeing that there is an infinite loop around line 107.
If the label string is an empty string, then this.items has a length of zero,, and the `Math.ceil1 results in infinity. Takes a long time to get to reach that value. Two possible fixes:
|
--> back to M7.0.1 for discussion I'm finding it so easy to hit the hang (it's not just emptying out the The most recent way I hit it:
|
labelFrom or labelTo have empty string values.
filed a Dojo ticket |
Opening against M7.0.1 for investigation...
The text was updated successfully, but these errors were encountered: