Bug #38739
Component loader does not check for existing service
| Status: | Closed | Start date: | 2012-07-07 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Francois Suter | % Done: | 100% |
|
| Category: | - | |||
| Target version: | 1.5.0 | |||
| Votes: | 0 |
Description
tx_tesseract::getComponent() tries to get the appropriate service by calling t3lib_div::makeInstanceService(), but does not verify if an object was indeed returned. Any object returned must be at least of type tx_tesseract_component, which is the base class of all Tesseract components.
An exception should be thrown if this is not the case.
Associated revisions
Added check for missing service, resolves #38739
Added check for missing service, resolves #38739
History
Updated by Francois Suter 11 months ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r64301.
Updated by Francois Suter 11 months ago
- Status changed from Resolved to Closed