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

dev/mail#105 - Oauth dropdown missing on mail settings form #22169

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

demeritcowboy
Copy link
Contributor

Overview

https://lab.civicrm.org/dev/mail/-/issues/105

https://civicrm.stackexchange.com/questions/40773/cant-add-gmail-account-with-oauth

On the mail accounts page, there's supposed to be a dropdown in place of the usual Add button.

Before

  1. Enable Oauth-client extension.
  2. Set up gmail.
  3. Go to the mail accounts page.
  4. There isn't a dropdown to select gmail.

After

Ok

Technical Details

Looks like 60a6221

Comments

@civibot
Copy link

civibot bot commented Nov 30, 2021

(Standard links)

@civibot civibot bot added the 5.44 label Nov 30, 2021
@seamuslee001
Copy link
Contributor

@colemanw

@seamuslee001
Copy link
Contributor

Jenkins re test this please

@colemanw
Copy link
Member

Yea, APIv4 has gotten stricter about what it will output, the default return value is now restricted to declared fields. IMO that's a step up from APIv3's standard of "whatever" but enforcing it has surfaced a few oopsies in the getfields.

@colemanw colemanw merged commit f7c2d10 into civicrm:5.44 Nov 30, 2021
@demeritcowboy
Copy link
Contributor Author

Thanks!

@demeritcowboy demeritcowboy deleted the oauth-dropdown branch November 30, 2021 14:36
@colemanw
Copy link
Member

Made a note in the APIv4 changelog: https://lab.civicrm.org/documentation/docs/dev/-/blob/master/docs/api/v4/changes.md#543-only-fields-declared-in-getfields-returned-by-default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants