Problem/Motivation

The configuration form doesn't load the list of scopes properly. It filters out scopes for several services due to a logic bug in the _google_api_client_read_scope_info() function.

Steps to reproduce

  1. View the config form
  2. Select the "Directory" service
  3. No scopes appear for that service

Proposed resolution

Adjust the text manipulation to take into account that the classes no longer use "Google_Service_" and instead use proper namespaces with "Google\Service\".

User interface changes

None other than showing all the options that should be there.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

minorOffense created an issue. See original summary.

minoroffense’s picture

Status: Active » Needs review
minoroffense’s picture

I snuck in one quality of life improvement. Those multi selects are really tiny for the amount of options they have. I increased the size to 20 to make it easier to choose scopes.

mitchems’s picture

The answer to @derhasi is "no" 2 backslashes are needed at the end of the name because of the tick ('). If one is used the backslash protects the tick as a non-parsed character and will not compile.

  • sadashiv committed 5461a9d on 8.x-4.x
    Issue #3222919 by minorOffense: Configuration form excludes scopes
    
sadashiv’s picture

Status: Needs review » Fixed

Thanks for reporting this issue, have fixed this issue in the new version, will be released soon.

Thanks,
Sadashiv.

Status: Fixed » Closed (fixed)

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