Issue Bug Closed

#80183Backend requireJS paths are calculated wrongly for CLI.

Christer V 03/08/17, 10:50 updated 10/17/17, 23:30

Description

If after clearing all the cache the first hit to a typo3 installation is a cli command the backend requireJS paths are calculated and saved wrongly causing the backend to fail.

In computeRequireJsConfig the $fullJsPath is calculated to be ‘/typo3/sysext/core/Resources/Public/JavaScript/’ instead of ‘sysext/core/Resources/Public/JavaScript/’.

How to replicate:
Removed ‘var/cache’ run ‘typo3/cli_dispatch.phpsh’ visit backend.

Reviews 2