Avoid Index out of bounds in ButtonWidgetConfigureActivitty#6096
Avoid Index out of bounds in ButtonWidgetConfigureActivitty#6096
Conversation
|
Is this exception occurring for a lot of people? It's while reading from the database so it must be writing incorrect data... |
jpelgrom
left a comment
There was a problem hiding this comment.
Good as a quick fix, even if it means the widget is already unusable
|
It's impacting 232 users on the Play Store according to the crashes |
|
I was able to reproduce the issue by simply using an action without a |
HA doesn't natively have actions like that though? It's always |
I hope so. But we were not making any verification so if you were entering manually something wrong it was crashing. |
Summary
We have crashes on production about the ButtonWidgetConfigureActivitty when splitting the action text.
This PR doesn't fix the issue about why it happens but it handle the case where we cannot split the action properly.