After the changes made (shown in http://drupalcode.org/project/oauth.git/commitdiff/bc9b737 )
When I go to "Add authorization" to a consumer user via the admin interface, the following warnings arise:
Notice: Undefined variable: account in oauth_common_authorization_add() (line 76 of docroot/sites/all/modules/contrib/oauth/oauth_common.authorizations.inc).
Notice: Trying to get property of non-object in oauth_common_authorization_add() (line 76 of docroot/sites/all/modules/contrib/oauth/oauth_common.authorizations.inc).
The above happen because the menu handler is not loading the user and passing it to the callback function, which is oauth_common_authorization_add().
Comments
Comment #1
juampynr CreditAttribution: juampynr commentedFixed at http://drupalcode.org/project/oauth.git/commit/bc9b737
Comment #2.0
(not verified) CreditAttribution: commentedMentioned the callback function.
Comment #3
charubachi CreditAttribution: charubachi commentedI am getting the same issue for "7.x-3.1".
If I go for the patch and click on add authorization then I get the below error.
Comment #4
charubachi CreditAttribution: charubachi commentedComment #5
charubachi CreditAttribution: charubachi commented