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

Setting an xproperty to the empty string via REST fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.4.2
    • Fix Version/s: 8.4.3, 9.0-rc-1
    • Component/s: REST
    • Labels:
      None
    • Difficulty:
      Trivial
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Pull Request Status:
      Pull Request accepted
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: