[TYPO3-mvc] Empty/faulty extension output after migrating to productive system (because of faulty fluid naming settings?)
Felix Eggbert
eggbert at phez.com
Mon Nov 29 22:09:52 CET 2010
Hi guys,
thanks a lot for your ideas...
@Sebastian When I posted my first message yesterday I was running TYPO3
4.4.2 with Extbase/Fluid 1.2.1...
I have now tried the latest versions (trunk=1.3.0beta1a ?) of both
extensions (still on T3 4.4.2) and changed my template file names to
UpperCamelCase...I also updated my dev system to these versions and my own
extension still works perfectly on this side...
Having done this the errors (on the productive system) as described before
are gone (!) but I get an "InvalidArgumentException - not a correct info
array of constructor dependencies was passed!" error which I cannot
replicate on my dev system: I have a list of categories that can be clicked
to show a list of entries in the respective category. Once I click on a link
the entry controller is called and the corresponding category is passed
over...(in fluid: <f:link.action action="index" controller="Entry"
arguments="{category : category}">Category</f:link.action>)...nothing
spectacular here and as I said works perfectly on my dev system even with
the trunk versions...
Do you have an idea where the problem lies here?
Thanks again!
Cheers,
Felix
-----Original Message-----
From: typo3-project-typo3v4mvc-bounces at lists.typo3.org
[mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] On Behalf Of
Bastian Waidelich
Sent: Montag, 29. November 2010 10:06
To: typo3-project-typo3v4mvc at lists.typo3.org
Subject: Re: [TYPO3-mvc] Empty/faulty extension output after migrating to
productive system (because of faulty fluid naming settings?)
Felix Eggbert wrote:
Hi Felix,
> The website works allright but my extension doesn't.some controller
> actions just leave an empty space others return an error like this:
> "'listallmaincategories' is not a valid template resource URI."
This is probably related to http://forge.typo3.org/issues/10975
Could you please debug the method getTemplateSource() in
Tx_Fluid_View_TemplateView - I can't find the error in there:
If your action is "listAllMainCategories" the lines 183ff:
$fallbackPath = str_replace('@action', $actionName,
$templatePathAndFilename); $templatePathAndFilename = str_replace('@action',
ucfirst($actionName), $templatePathAndFilename);
should result in:
$fallbackPath === 'foo/bar/listAllMainCategories.html' and
$templatePathAndFilename === 'foo/bar/ListAllMainCategories.html'
Is that not the case for you?
> as you know the template files are all named lowerCamelCase though
To be in sync with FLOW3 they should be UpperCamelCase (see [2]).
But lowerCamelCase should work as well! (at least until Extbase 1.5).
> does anybody have an idea what this is about and what I have to do to
> set up the productive system just like my dev system?
You wrote, you imported the dev database. But did you really include the
static TS configuration of your extension? it seems view.templateRootPath is
set to an empty string!?
Best,
Bastian
_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
More information about the TYPO3-project-typo3v4mvc
mailing list