Bug #4149
openosmo_fsm allows event names to have spaces in them
0%
Description
See https://gerrit.osmocom.org/#/c/libosmocore/+/15154/
event names, like state names, should be one word only.
Updated by laforge over 4 years ago
we call osmo_identifier_valid()
for the FSM name and FSM instance, but we don't appear to use it for state or event names :(
Updated by laforge over 4 years ago
I created an initial patch at https://gerrit.osmocom.org/c/libosmocore/+/16355
Updated by dexter over 2 years ago
the initial patch breaks, as expected, a lot of existing FSMs, we need to resolve this first. Unfortunately there is also a problem with the debug log. Some FSMs are registered before the log is initialized. The logging framework will then exit with an assertion when the debug messages from the FSM registrations are printed. This needs to be resolved first to debug the problematic. See also: https://gerrit.osmocom.org/c/libosmocore/+/26950