Project

General

Profile

Actions

Bug #80183

closed

Backend requireJS paths are calculated wrongly for CLI.

Added by Christer V about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
-
Target version:
Start date:
2017-03-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions

Also available in: Atom PDF