Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8362

XWikiContext should support putting null value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.3-milestone-2
    • 4.2
    • Old Core
    • None
    • Unknown
    • N/A
    • N/A

    Description

      XWikiContext should never have been a Hashtable but it's too old and way too much used to change that now.

      We already overwrite put() method so we should call super.remove instead of super.put if the value is null in order to not fail.

      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: