When the generator is used to generate a new reflex which contains an underscore it fails during runtime. Reason is that the Class Name that is generated is not what sockpuppet expects after getting the message from the js code.
Reason
During runtime, the received controller name is transformed from snake case to camel case using the classify method but during code generation the Controller name is the un-classifyed name.
Expected behavior
Expected behavior is to get a correctly generated.
Bug Report
When the generator is used to generate a new reflex which contains an underscore it fails during runtime. Reason is that the Class Name that is generated is not what sockpuppet expects after getting the message from the js code.
Reason
During runtime, the received controller name is transformed from snake case to camel case using the
classify
method but during code generation the Controller name is the un-classify
ed name.Expected behavior
Expected behavior is to get a correctly generated.
Versions
Django-sockpuppet