| Summary: | the second embedded link in message posted to delegatedUI is ignored | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Swanke <jswanke> | ||||||||
| Component: | Client | Assignee: | Project Inbox <orion.client-inbox> | ||||||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | grant_gayed, mamacdon, Szymon.Brandys | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
John Swanke
Just to confirm, this is in the context of a contributed editor command, not a Shell page command, right? AFAIK "orion.page.delegatedUI" extension is used only in the context of an editor command. Right-- the context is a contributed editor command returning a status with more then one [link](url) formatted links... Created attachment 232395 [details] screenshot of links Hi John I made a small test plugin testcase, but I haven't been able to recreate the problem. I passed a message containing several URLs like this, and they rendered correctly (see attached picture). > var msg = "[link1](http://www.ibm.com/) filler text [link2](https://www.ibm.com/foo/bar?a=b&c=d)"; > window.parent.postMessage(JSON.stringify({ > pageService: "orion.page.delegatedUI", > source: "test.delegatedui", > Status: { > Message: msg > } > }), "*"); Can you provide the actual URLs that you are passing in? Do they contain any unusual characters? Perhaps one of your URLs is confusing our URL-detecting regex. Created attachment 232396 [details]
the correct picture
Created attachment 232397 [details]
Delegated UI link test plugin
FWIW here is the complete plugin code that I tested with.
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html |