Upon authenticating a user token, a notice is displayed:
Notice: Undefined index: access_type in gauth_account_save() (line 731 of gauth/gauth.module).
and the access_type for the token is not stored in the gauth_accounts table.

I think in this case it makes sense to set the access type of the user's token to the same as that of the service account, in which case the attached patch fixes the issue.

CommentFileSizeAuthor
gauth-access-type.patch578 bytesajwoods

Comments

ajwoods created an issue. See original summary.

ajwoods’s picture

Version: 7.x-1.x-dev » 7.x-1.7

  • sadashiv committed 1c74231 on 7.x-1.x authored by ajwoods
    Issue #2781401 by ajwoods: Notice: Undefined index: access_type
    
sadashiv’s picture

Status: Active » Fixed

Hi,

Thanks for the patch, have committed your patch to core. http://drupalcode.org/gauth/commit/?id=1c74231

Will be out in the next version. The next version has few more improvements.

Thanks,
Sadashiv.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.