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

Fix improper performAjaxValidation call in YumMessageController.php #206

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tsaneff
Copy link

@tsaneff tsaneff commented Jul 11, 2015

Attempt to fix the following issue: When user is composing YumMessage to a 'friend', although the message is send with success, the following error occurs in the logs:
Fix "[error] [php] Attempt to assign property of non-object (...) ... Stack trace: #0 unknown(0): YumMessageController->actionCompose()... YumMessageController.php (67)...

Resolution: It seems 'performAjaxValidation' was not called with actual model object and also the object itself was with missing 'from_user' relation.

Attempt to fix the following issue: When user is composing YumMessage to a 'friend', although the message is send with success, the following error occurs in the logs:
Fix "[error] [php] Attempt to assign property of non-object (...) ... Stack trace: #0 unknown(0): YumMessageController->actionCompose()... YumMessageController.php (67)... 

Resolution: It seems 'performAjaxValidation' was not called with actual model object and also the object itself was with missing 'from_user' relation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant