Project

General

Profile

Actions

Bug #85757

closed

Cli mode now depends on globally set application context

Added by Helmut Hummel over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-08-05
Due date:
% Done:

100%

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

Description

There are mainly two issues with that:

  1. ApplicationContext is misused for a different purpose, which conflicts with the default purpose. E.g. one cannot set Production/Staging as context and properly run a frontend subrequest with that.
  2. Current code checks for a "magic" context "Testing/Frontend", to properly set the cli mode to false. This means calling the frontend application only works properly (when called from cli), when the global env is set to exactly that string
Actions

Also available in: Atom PDF