XWiki Platform
  1. XWiki Platform
  2. XWIKI-6959

xwiki.work.dir configuration is never taken into account

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2 M2
    • Fix Version/s: 3.2 M3, 3.1.1
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:
      XWIKI-7365Infinispan configuration is not taken into account
      XWIKI-5452"cache.path" configuration is not taken into account by JBossCache module
      XWIKI-11038xwiki.authentication.unauthorized_code has a bad default value and is not taken into account
      XWIKI-7393Filesystem cache location configured trough API is not taken into account in infinispan handler
      XWIKI-7887Remove usage of xwiki.work.dir and xwiki.temp.dir configuration properties
      XWIKI-11349The 'lessCode' variable is not taken into account
      XWIKI-1738XAR name is not taken into account when exporting from the Administration Export page
      XWIKI-8923Images are not taken into account by backlink system
      XWIKI-4722DisposableCacheValue is not taken into account for modified values
      XWIKI-7591Query wiki is not fully taken into account

      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.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Thomas Mortagne
              Reporter:
              Thomas Mortagne
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: