Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-85

Components should be stacked instead of overwritten

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4
    • Fix Version/s: None
    • Component/s: Component
    • Labels:
      None
    • Similar issues:

      Description

      Here is an example of what's happening right now:

      • register the component A with role R and hint H
      • register the component B with role R and hint H
      • unregister the component B
      • there is no component anymore with role R and hint H, A is lost even if it has never been officially unregistered

      Is a larger use was what this mean is the you can in XWiki install an extension which overwrite some standard component like the XHTML renderer to extend it and when you uninstall the extension you ends up with no XHTML renderer which makes XWiki pretty much unusable...

      We could make each role/hint couple have a stack of descriptors assigned to it instead of a single descriptor so that we can restore the previous component when unregistering the current one.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tmortagne Thomas Mortagne
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: