I don't understand your explanation and the relation you make with the training module.
I would say that this is not a bug but a normal behavior of the application. A good fix would be to check if the default_code has a value and choose one of the 2 proposed solutions above.
I don't understand your explanation and the relation you make with the training module.
I would say that this is not a bug but a normal behavior of the application. A good fix would be to check if the default_code has a value and choose one of the 2 proposed solutions above.