Bug 262311 - no error for non-singleton fragment contributing extensions
Summary: no error for non-singleton fragment contributing extensions
Status: RESOLVED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4.1   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2009-01-25 02:33 EST by Rafael Chaves CLA
Modified: 2019-10-09 07:03 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Chaves CLA 2009-01-25 02:33:06 EST
If a fragment contributes extensions using a fragment.xml, PDE will not report an error if the fragment is not marked as singleton.

That works fine if instead of a fragment.xml, the fragment uses a file named plugin.xml.

The problem is that Equinox will happily accept a fragment contributing extensions via a fragment.xml, but only if it is a singleton (the extensions will be silently ignored otherwise). Without PDE's help, it took me hours to realize the reason my fragment's extensions were being ignored.

Note that PDE will report a bogus warning: "A plug-in manifest must contain at least one extension or extension point", even though the fragment.xml file does contain extensions.
Comment 1 Eclipse Genie CLA 2019-04-03 18:05:21 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Lars Vogel CLA 2019-10-09 07:03:35 EDT
This bug was marked as stalebug a while ago. Marking as wontfix.

If this report is still relevant for the current release, please
reopen and remove the stalebug whiteboard tag.