Metecho icon indicating copy to clipboard operation
Metecho copied to clipboard

Issue when null email returned from GitHub

Open kreynen opened this issue 2 years ago • 5 comments
trafficstars

This may be related to the Keep my email addresses private option at https://github.com/settings/emails

Screen Shot 2022-12-06 at 10 50 03 AM

kreynen avatar Dec 06 '22 17:12 kreynen

@kreynen I would expect this not to work, but can you provide reproduction steps and the actual behavior shown from Metecho? We would like to provide clear instruction to the user.

davidmreed avatar Dec 06 '22 17:12 davidmreed

This happened when we were trying to get additional users to test https://github.com/SFDO-Community-Sprints/MembershipSchemaAndBenefits. I've stripped out the user-specific information, but this is what Metecho is returning when synch the GitHub Collaborators.

Uh oh. There was an error re-syncing GitHub Collaborators for this Project: “Membership Schema and Benefits.”
null value in column "name" violates not-null constraint DETAIL: Failing row contains ([ID], [Username], null, https://avatars.githubusercontent.com/u/[ID]?v=4).

Hopefully this error is logged somewhere on your end with more information.

kreynen avatar Dec 06 '22 18:12 kreynen

Tracking this issue as W-12175666. Thank you!

davidmreed avatar Dec 06 '22 18:12 davidmreed

@kreynen Is this a private instance of Metecho that you were using, or one hosted by Salesforce?

A related bug was fixed in November and deployed on our instances recently, so the problem might be fixed.

Something slightly confusing about the bug report is that the column it is complaining about is name, not email. Maybe there is a different setting that controls name visibility. Or maybe the setting controls both.

prescod avatar Feb 09 '23 00:02 prescod

The instance is https://metecho.herokuapp.com/. I am using it for https://github.com/SFDO-Community-Sprints/MembershipSchemaAndBenefits, but this instance is used for all the Commons Sprint projects. I believe this was resolved by removing the user from the MembershipSchemaAndBenefits project, but I wanted to flag this in case it comes up again in the next Commons sprint in March.

kreynen avatar Feb 09 '23 16:02 kreynen