Details
Description
When testing this fix XWIKI-21071 I noticed that the Import a XAR in a wiki REST service is now expecting values in lowercase instead of uppercase for the "history" parameter. So, for example using "history=REPLACE" won't work but "history=replace" works.
It seems related to that removal: https://github.com/xwiki/xwiki-platform/commit/0a2d4f1c4c6c1a39733948e631b50d7b1df6c7de#diff-5fa518235ef8f5bc1b4c69385ceb7c061d8796308c77311c6693ffd29f1ae1f2L176-L187
Note that uppercase values for history parameter are also used on another REST service, so, this service could be impacted too.
Attachments
Issue Links
- is caused by
-
XWIKI-21071 'Import a XAR in a wiki' REST API is not working as expected when "backup=true" and "history=REPLACE"
-
- Closed
-