Project

General

Profile

Actions

Bug #85842

closed

Functional frontend tests cannot be executed on some systems

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-14
Due date:
% Done:

100%

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

Description

This is due to the fact, that TYPO3 tries to resolve the path to the entry script in cli mode
by evaluating $_ENV['_'] first, then if this ist not set, $_SERVER['_'] is taken.

On systems where $_ENV['_'] isn't populated, this works, as the frontend test bootstrap populates $_SERVER['_'] with the correct value.
However there are some systems, where $_ENV['_'] is populated with the path to the PHP binary. In that case it fails
with the error message that TYPO3 is unable to determine path to entry script.

The main culprit though is, that in this scenario TYPO3 tries to determine paths based on a cli environment, while
in fact we emulate a frontend (HTTP server) environment.

Actions #1

Updated by Gerrit Code Review over 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57894

Actions #2

Updated by Helmut Hummel over 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF