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

XWikiContext.setDoc does not support null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.8.4, 1.9 RC1, 2.0 M1
    • 1.8.3, 1.9 M2
    • {Unused} Core
    • None
    • Unknown

    Description

      This makes any context property saving restoration fail when the former value did not exists in the context.

      I think the best would be that XWikiContext extends HashMap instead of Hashtable (which is not supposed to be used anymore in java BTW) to support anything as property value.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: