| Summary: | Editor commands fail to process statuses from delegated UIs | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Szymon Brandys <Szymon.Brandys> |
| Component: | Editor | Assignee: | Simon Kaegi <simon_kaegi> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | mamacdon, simon_kaegi |
| Version: | 3.0 | Flags: | simon_kaegi:
review+
mamacdon: review+ |
| Target Milestone: | 3.0 RC3 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Szymon Brandys
The fix is to change:
var statusService = serviceRegistry.getService("orion.page.message");
to
var statusService = self.serviceRegistry.getService("orion.page.message");
in line 321
I would push it to 3.0, but I will do whatever Simon decides. Actually it is a blocker for some... Wow. So someone actually was using the serviceRegistry as a global. I unfortunately think this needs to be fixed. This is the commit to review: https://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?h=411598&id=298a61c13028618de2f72fa50c39090d2b8fb0b2 Thanks Szymon, I pushed with tweaks to get a clean jslint file. -- https://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=2d732cfb66ce150c83d90c804f2fcabce3134ec4 |