Bug #30138

Bad error message "TYPO3\FLOW3\Persistence\Doctrine\QueryResult could not be converted to string" if necessary namespace hasn't been loaded

Added by Martin Br├╝ggemann over 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Category:
Core
Target version:
-
Start date:
2011-09-20
Due date:
% Done:

0%

Estimated time:
Has patch:
No

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

Related to TYPO3.Fluid - Feature #53059: Throw exception for unresolved namespacesClosedBastian Waidelich2013-10-23

Actions
#2

Updated by Bastian Waidelich over 7 years ago

  • Category set to Core
  • Status changed from New to Closed
  • Assignee 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

Also available in: Atom PDF