Project

General

Profile

Actions

Bug #69563

closed

Autoloader looks in wrong directory for class files

Added by Thomas Hucke about 9 years ago. Updated about 9 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
composer
Target version:
-
Start date:
2015-09-06
Due date:
% Done:

0%

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

Description

I stumbeld upon this issue setting in my controller

     protected $viewFormatToObjectNameMap = array(
        'json' => 'Thucke\ThRating\View\JsonView',
    );

Normally I would expect that I have to put the file in my extension directory

EXT:th_rating/Classes/View/JsonView.php

... that doesn't work.
I figured out that TYPO3 instead looks for the following file
typo3\vendor\typo3\cms-composer-installers\Classes\Thucke\ThRating\View\JsonView.php

I'd assume that the autoloader might have a bug there.
But I'm sure you guys will find the right point to change ...

Thanks
Thomas


Files

composer.json (1.42 KB) composer.json Thomas Hucke, 2015-09-07 21:42
composer.json (1013 Bytes) composer.json Thomas Hucke, 2015-09-16 17:13
Actions

Also available in: Atom PDF