Bug #30138
Bad error message "TYPO3\FLOW3\Persistence\Doctrine\QueryResult could not be converted to string" if necessary namespace hasn't been loaded
Status: | Closed | Start date: | 2011-09-20 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Bastian Waidelich | % Done: | 0% |
|
Category: | Core | |||
Target version: | - | |||
Has patch: | No | Affected Flow version: | FLOW3 1.0.0 |
Description
If you write your own paginator widget, try to load it in your fluid template but forget to define the necessary namespace, there's the following error displayed:
#1: Catchable Fatal Error: Object of class TYPO3\FLOW3\Persistence\Doctrine\QueryResult could not be converted to string in /Volumes/Data/Users/herr/Sites/_ZFWSPACE/guruhelp/Data/Temporary/Development/Cache/Code/Fluid_TemplateCache [...]
If the correct namespace is defined at the beginning of the viewhelper (f.e. {namespace g=Company\Testproject\ViewHelpers}) the user defined widget loads correctly and everything is fine.
Related issues
History
#1 Updated by Karsten Dambekalns almost 4 years ago
- Affected Flow version set to FLOW3 1.0.0
#2 Updated by Bastian Waidelich almost 2 years ago
- Category set to Core
- Status changed from New to Closed
- Assigned To set to Bastian Waidelich
Hey Martin ;)
Sorry for the delay on this.. I'm closing this in favor of #53059 - feel free to comment or re-open if you don't agree