catapult-project / catapult

Deprecated Catapult GitHub. Please instead use http://crbug.com "Speed>Benchmarks" component for bugs and https://chromium.googlesource.com/catapult for downloading and editing source code..
https://chromium.googlesource.com/catapult
BSD 3-Clause "New" or "Revised" License
1.91k stars 563 forks source link

spav2 not showing bug indicators. #4589

Closed tdresser closed 5 years ago

tdresser commented 5 years ago

console output: /api/alerts/new_bug:1 Failed to load resource: the server responded with a status of 500 () (index):22472 SyntaxError: Unexpected token < in JSON at position 0 AlertsSection.actions.submitNewBug @ (index):22472 (index):23554 Uncaught (in promise) TypeError: Cannot read property 'testSuite' of undefined at ChartSection.actions.connected ((index):23554) at timeActions:wrapper ((index):15703) at action ((index):6628) at Object.action [as dispatch] ((index):16019) at HTMLElement.dispatch ((index):6634) at HTMLElement.connectedCallback ((index):23349) at HTMLElement.insertInstance ((index):5620) at HTMLElement.applyFullRefresh ((index):5575) at HTMLElement.__render ((index):5540) at _timer._asyncModule.run ((index):2891) (index):23802 Uncaught (in promise) TypeError: Cannot read property 'testSuite' of undefined at ChartSection.receiveTestSuites ((index):23802) at ChartSection.receiveTestSuites ((index):16060) at cp.setImmutable.state ((index):16043) at Object.setImmutable ((index):15389) at ChartSection.receiveTestSuites ((index):16043) at rootReducer ((index):16015) at a ((index):15868) at Object.action [as dispatch] ((index):16021) at HTMLElement.dispatch ((index):6634) at (index):6626

benshayden commented 5 years ago

Found the error in pantheon: pinpoint_request was calling get_current_user instead of utils.GetEmail. Deployed a fix, sending out a CL to fix it on master branch. Thanks for reporting!