Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model Object Deletion does not delete associated hooks #91

Closed
rupin opened this issue Sep 1, 2019 · 2 comments
Closed

Model Object Deletion does not delete associated hooks #91

rupin opened this issue Sep 1, 2019 · 2 comments
Labels
Milestone

Comments

@rupin
Copy link

rupin commented Sep 1, 2019

I get this error whenever I start my server

Callback 'river.hooking.transition.PostTransitionHooking_object21d81866-f804-4f7b-93a1-1751e6a0a4fa_field_namestage' from database can not be registered. Because method 'my_callback_function' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.completed.PostCompletedHooking_object21d81866-f804-4f7b-93a1-1751e6a0a4fa_field_namestage' from database can not be registered. Because method 'my_callback_function_oncomplete' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.transition.PostTransitionHooking_object4258377e-239f-41e1-9178-44beef5c8ee9_field_namestage' from database can not be registered. Because method 'my_callback_function' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.completed.PostCompletedHooking_object4258377e-239f-41e1-9178-44beef5c8ee9_field_namestage' from database can not be registered. Because method 'my_callback_function_oncomplete' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.transition.PostTransitionHooking_object4b09f7d5-15be-427b-b7b6-33c7075cc7cc_field_namestage' from database can not be registered. Because method 'my_callback_function' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.completed.PostCompletedHooking_object4b09f7d5-15be-427b-b7b6-33c7075cc7cc_field_namestage' from database can not be registered. Because method 'my_callback_function_oncomplete' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.transition.PostTransitionHooking_objecte5303768-590d-480a-bdf1-d4448b7e8b93_field_namestage' from database can not be registered. Because method 'my_callback_function' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.completed.PostCompletedHooking_objecte5303768-590d-480a-bdf1-d4448b7e8b93_field_namestage' from database can not be registered. Because method 'my_callback_function_oncomplete' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.transition.PostTransitionHooking_object29323270-2c6f-46e3-b085-3c730b2474be_field_namestage' from database can not be registered. Because method 'my_callback_function' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.completed.PostCompletedHooking_object29323270-2c6f-46e3-b085-3c730b2474be_field_namestage' from database can not be registered. Because method 'my_callback_function_oncomplete' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.transition.PostTransitionHooking_objecta3b7590d-ee57-42d8-be1b-6cc813c237da_field_namestage' from database can not be registered. Because method 'my_callback_function' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.completed.PostCompletedHooking_objecta3b7590d-ee57-42d8-be1b-6cc813c237da_field_namestage' from database can not be registered. Because method 'my_callback_function_oncomplete' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.transition.PostTransitionHooking_object4bf943ab-1279-47fa-a086-fe197cc9b34b_field_namestage' from database can not be registered. Because method 'my_callback_function' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.completed.PostCompletedHooking_object4bf943ab-1279-47fa-a086-fe197cc9b34b_field_namestage' from database can not be registered. Because method 'my_callback_function_oncomplete' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.transition.PostTransitionHooking_objectef821d11-78dd-4456-97f2-9681841731bc_field_namestage' from database can not be registered. Because method 'my_callback_function' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.completed.PostCompletedHooking_objectef821d11-78dd-4456-97f2-9681841731bc_field_namestage' from database can not be registered. Because method 'my_callback_function_oncomplete' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.transition.PostTransitionHooking_object5ee7865f-9b1e-4bf5-b1d6-43142dd587a3_field_namestage' from database can not be registered. Because method 'my_callback_function' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.completed.PostCompletedHooking_object5ee7865f-9b1e-4bf5-b1d6-43142dd587a3_field_namestage' from database can not be registered. Because method 'my_callback_function_oncomplete' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.transition.PostTransitionHooking_objectcd764099-dc80-46e9-99d2-9049c132af70_field_namestage' from database can not be registered. Because method 'my_callback_function' is not in module 'workflowengine.hooks.myHooks'. Callback 'river.hooking.completed.PostCompletedHooking_objectcd764099-dc80-46e9-99d2-9049c132af70_field_namestage' from database can not be registered. Because method 'my_callback_function_oncomplete' is not in module 'workflowengine.hooks.myHooks'.

I believe the model objects associated with the hooks have been deleted from the Model, but the callbacks still remain, and that is why these messages.

Shouldn't the callbacks be removed as well?

@javrasya
Copy link
Owner

javrasya commented Sep 4, 2019

I am preparing a new version @rupin . I will look into this

@rupin
Copy link
Author

rupin commented Sep 4, 2019

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants