Description
As far as I can see in the code XWiki#getTempDirectory seems to initialize the wrong variable if xwiki.temp.dir is not set which means that getWorkDirectory don't do anything and directly return what has been intialized by getTempDirectory.
It also mean that getTempDirectory redo the init all the time.
Attachments
Issue Links
- is duplicated by
-
XWIKI-6204 Depending on when XWiki.getWorkDirectory() is first called, the core may chose a different work directory.
- Closed