Closed pushkalkatara closed 5 years ago
I would like to work on this issue. I think we should check the input of the transition's name and ask the user to input its name again. Is this what I should implement or do I go about it in a different way?
Hi @sudo-panda . The transition name can be empty too. While parsing the XML to automata using transition.py, it expects a value but as the node is empty, when it tries to access the node value, it gives list index out of range
error. You can check if the node is empty and then access the nodeValue.
I have added a try catch block to rectify the issue. And it is now fixed.
Can I claim another issue before the pull request is merged?
@sudo-panda Thanks for the PR. it solves the issue and I have merged it.
Yes, you can approach as many as issues you want.
While developing behavior, transitions take the empty name as input. After saving the behavior and reopening it, the following error occurs -
Transitions without name should be allowed.