Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 546487

Summary: Bugzilla does not properly reflect the ECA state of a user
Product: Community Reporter: Christopher Guindon <chris.guindon>
Component: BugzillaAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: denis.roy, jonah
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
eca coming from accounts.eclipse.org
none
eca coming from dev.eclipse.org none

Description Christopher Guindon CLA 2019-04-16 13:36:58 EDT
It's now possible to be covered by an ECA without actually singing the ECA.

For example, if the user is covered by the ECA with a valid ICA V4 on file or if he's employed by a member company with a valid MCCA on file.

Bugzilla is showing an ECA badge with a call to:

https://dev.eclipse.org/site_login/web-api/cla_decorator.php?email=chris.guindon@eclipse-foundation.org

This image is return a red ECA badge indicating that I am not covered by an ECA. This is incorrect since I have a valid ICA V4 on file.

Webmaster, please update the eca badge call to:
https://accounts.eclipse.org/user/eca/badge?mail=chris.guindon@eclipse-foundation.org
Comment 1 Christopher Guindon CLA 2019-05-07 16:41:26 EDT
I made this change with Matt W. today and it seems to be working well!
Comment 2 Jonah Graham CLA 2019-06-19 11:00:21 EDT
Hi, I hope you don't mind that I have reopened this, but as far as I can tell this fix did not go in properly. Random refreshes leads to using either dev.eclipse.org or accounts.eclipse.org for the ECA badge leading to badge being wrong sometimes.

As far as I can tell, the badges work properly from bugs-vm2 but not bugs-vm1. Perhaps that is coincidence (based on X-NodeID: bugs-vm2 response header).

See attached screenshots which are different simply as a result of refreshing the webpage.
https://bugs.eclipse.org/bugs/attachment.cgi?bugid=546487&action=enter
Comment 3 Jonah Graham CLA 2019-06-19 11:00:37 EDT
Created attachment 278999 [details]
eca coming from accounts.eclipse.org
Comment 4 Jonah Graham CLA 2019-06-19 11:00:48 EDT
Created attachment 279000 [details]
eca coming from dev.eclipse.org
Comment 5 Denis Roy CLA 2019-06-28 11:02:42 EDT
This was addressed yesterday via another bug report. Thx
Comment 6 Denis Roy CLA 2019-07-02 09:48:55 EDT
(In reply to Jonah Graham from comment #2)
> Hi, I hope you don't mind that I have reopened this, but as far as I can
> tell this fix did not go in properly. Random refreshes leads to using either
> dev.eclipse.org or accounts.eclipse.org for the ECA badge leading to badge
> being wrong sometimes.
> 
> As far as I can tell, the badges work properly from bugs-vm2 but not
> bugs-vm1. Perhaps that is coincidence (based on X-NodeID: bugs-vm2 response
> header).
> 
> See attached screenshots which are different simply as a result of
> refreshing the webpage.
> https://bugs.eclipse.org/bugs/attachment.cgi?bugid=546487&action=enter

FWIW, this assessment was spot on!