Feature #84

ComponentManager should not manage abstract classes

Added by Malte Jansen over 7 years ago. Updated almost 5 years ago.

Status:Closed Start date:
Priority:Should have Due date:
Assigned To:Robert Lemke % Done:

0%

Category:Object
Target version:TYPO3 Flow Base Distribution - 0.1
PHP Version: Complexity:
Has patch:

Description

Abstract classes can not run standalone. So they should not be managed by the Component Manager and should not be available as components.

History

#1 Updated by Malte Jansen over 7 years ago

Some how on linux the CM does not load abstract-files and on windows it loads the abstract-files.

On windows there is no error...
On Linux we got an error (something like: Component "T3_Framework_MVC_View_Abstract" not found)

You can reproduce this Error with following lines in the Components.conf:

[T3_Framework_MVC_View_Abstract]
constructorArguments.1.reference = T3_Framework_Component_Manager

Both installations have the latest Version of T3 5.0.

Timmy can confirm this behavior

By the way:
This error is not catched by an exception!

#2 Updated by Robert Lemke over 7 years ago

  • Status changed from New to Closed
  • Sprint set to fixed
(In r416)
  • Framework: (Validation) Fixed class name of T3_Framework_Validation_Exception_InvalidSubject (incomplete refactoring)
  • Framework: Abstract class cannot and are not longer registered as components. Fixes #84.

Also available in: Atom PDF