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

Setting an xproperty to the empty string via REST fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 8.4.3, 9.0-rc-1
    • 8.4.2
    • REST
    • None
    • Trivial
    • N/A
    • N/A
    • Pull Request accepted

    Description

      Since the request body is empty, the associated InputStream is set to null, which causes a NullPointerException in IOUtils.toString in TextPlainReader.

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: