| Summary: | Metatype must support optional 'pid' attribute on <Designate> element. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | John Ross <jwross> | ||||
| Component: | Compendium | Assignee: | John Ross <jwross> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | tjwatson | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 3.7 M7 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
John Ross
See https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1852 and https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1951. Created attachment 192592 [details]
Proposed Patch
This patch takes into account the now optional 'pid' attribute on the <Designate> element. Either 'pid' or 'factoryPid' must be present. If neither are specified, a (new) error message is logged and the entire XML file rejected. If 'factoryPid' is present, 'pid' (present or absent) is ignored entirely.
Thanks John! Patch released. |