Feature #84

ComponentManager should not manage abstract classes

Added by Malte Jansen over 14 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Object
Start date:
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

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

#1

Updated by Malte Jansen over 14 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 14 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