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

Extension component hint null or empty should be equivalent to "default"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 13.3
    • 13.3-rc-1
    • Extension
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      In the ComponentManager API you can express the default hint for a component in 3 ways:

      • "default"
      • empty string
      • null

      Since we need several instances of ExtensionComponent to be equals when they use a different form of the default hint we need to make sure it's the cleaned automatically like we do for the type name.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: