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

Bug 410344

Summary: Sites page is broken
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2013-06-10 10:15:55 EDT
The sites page doesn't load -- you get an error

> Cannot call method 'getServiceReferences' of undefined
> generateRelatedLinks (globalCommands.js:324)
> setPageTarget (globalCommands.js:630)
> (anonymous function) (sites.js:46)
Comment 1 Mark Macdonald CLA 2013-06-10 10:45:56 EDT
The user-profile page is broken in the same fashion.
Comment 2 Mark Macdonald CLA 2013-06-10 12:21:10 EDT
According to the doc, the serviceRegistry param is supposed to be an optional param to globalCommands#setPageTarget. That seems to have changed: any page that doesn't pass the serviceRegistry is broken now.

The changes to globalCommands.js in commit 73f4544 are so huge I can't figure out what actually happened there. Also the code has been formatted in a really nasty way.