Issue Bug Closed

#22275fluid - unhelpful error message

Florian Staudacher 03/13/10, 18:25 updated 03/14/10, 21:12

Description

in typo3/sysext/fluid/Classes/View/TemplateView.php on line 358 the method parseTemplate() should return a helpful error message in case the file cannot be read.
I had forgotten to give the server read access to my template file and the only thing i got over and over was

Tx_Fluid_Core_Parser_Exception
Parse requires a template string as argument, boolean given.

from the typo3/sysext/fluid/Classes/Core/Parser/TemplateParser.php on line 271.
I mean if you know that file_get_contents returns false if there is an error, it’s simple to look for the error, but even that involves looking at the code to see how the file gets read.

Please replace with/add a more suiting error message

http://forge.typo3.org/issues/show/6822
(issue imported from #M13810)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.