[TYPO3-german] Fehler in Extension.

Nicolas Puente nicolas.puente at lgb-rlp.de
Fri Oct 9 11:59:47 CEST 2015


Gefunden!!!!!!

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
     'Puecomments.' . $_EXTKEY,
     'Commentslisting',
     array(
         'comments' => 'list, show, new, create, edit, update, 
delete',   soll  '*Comments*' => 'list, show, new, create, edit, update, 
delete', sein

     ),
     // non-cacheable actions
     array(
         'comments' => 'create, edit, update, delete', soll *'Comments*' 
=> 'create, edit, update, delete', ein

     )
);

Danke!!!!!

Am 09.10.2015 um 11:29 schrieb Nicolas Puente:
> Arne,
>
> ich fide das nicht. Über all ist  'CommentsController'
>
> In PHPUnit:
>
> Testsuite: 
> Puecomments\Simplecomments\Tests\Unit\Controller\CommentsControllerTest
>
> *! Error* in test case 
> /listActionFetchesAllCommentssFromRepositoryAndAssignsThemToView/
> File: 
> //shares/www/typo3/typo3_src-6.2.1/typo3/sysext/core/Tests/BaseTestCase.php/
> Line: /276/
> Could not inject commentsRepository into object of type 
> Mock_CommentsController_d3166a6c
>
> Gruß
>
>
> Nicolas
>
> Am 09.10.2015 um 10:00 schrieb Arne-Kolja Bachstein:
>> Hallo,
>>
>> auf den ersten Blick müsste commentsController eher 
>> CommentsController heißen. Check bitte, um Du die Form überall 
>> einhältst (Klassendefinition, Übergabe des Klassennamens bei 
>> Instanziierungen, Dateiname, …).
>>
>> Gruß
>>
>> Arne
>>
>>> Am 09.10.2015 um 09:39 schrieb Nicolas Puente 
>>> <nicolas.puente at lgb-rlp.de>:
>>>
>>> Morgen,
>>>
>>> ich versuche eine Extension zu schreiben. Ich benutze:
>>>
>>> Typo3 6.2.1 aber die Fehler ist gleich in Typo3 6.2.15
>>> extension_builder 6.2.0
>>>
>>> Es ist egal was ich mache. Die Fehler ist immer da.
>>>
>>> *#1289386765: Could not analyse 
>>> class:Puecomments\Simplecomments\Controller\commentsController maybe 
>>> not loaded or no autoloader?
>>>
>>> *Wo konnte mein Problem sein?
>>>
>>> Viele Grüße.
>>>
>>> Nicolas
>>> *
>>> *
>>> _______________________________________________
>>> TYPO3-german mailing list
>>> TYPO3-german at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>> _______________________________________________
>> TYPO3-german mailing list
>> TYPO3-german at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german



More information about the TYPO3-german mailing list