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
bug
Milestone

Comments

@rupin
Copy link

@rupin 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

This comment has been minimized.

Copy link
Owner

@javrasya javrasya commented Sep 4, 2019

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

@rupin

This comment has been minimized.

Copy link
Author

@rupin rupin commented Sep 4, 2019

Awesome!

@rupin rupin closed this Sep 4, 2019
javrasya added a commit that referenced this issue Sep 5, 2019
javrasya added a commit that referenced this issue Sep 5, 2019
@javrasya javrasya added this to the 2.0.0 milestone Sep 5, 2019
@javrasya javrasya added the bug label Sep 5, 2019
javrasya added a commit that referenced this issue Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.