> But really thanks... So far at least i can access the repository but my
> biggest concern is actually how to get from here to be able to use findAll(),
> to auto generate my files as described in the initial post. Any idea why it
> works with findByUid() and not with findAll?
The repository
Stupid question: do you have an existing record with uid = 1 in your database?
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
The execute method needs a return statement.
Add return TRUE; add the end of your method.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> Another error:
>
> Oops, an error occurred!
> syntax error, unexpected '\' (T_NS_SEPARATOR)
Please show your complete code.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
> Oops, an error occurred!
> syntax error, unexpected 'DebuggerUtility' (T_STRING)
Take the full namespace (or take a use statement at the beggining of your
class):
\TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($apprep->findByUid(1));
___
> I already registered the CommandController in the ext_localconf.php like this:
>
> if (TYPO3_MODE === 'BE') {
>
>
> $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][]
> = 'Cjk\\Icingaconfgen\\Command\\SimpleCommandController';
>
> }
The commandController is
This TypoScrips won’t help, as you don’t have a module nor a plugin (module =
backend module, plugin = frontend plugin).
But I don’t get it right now. Can you please focus? :-)
As far as I know, DependencyInjection does not work in the tasks. You have to
build the instances in the constructor
Try to fetch a single record with findByUid instead of getting all with
findAll. If you get a result, your repository has no records storage uid. You
can set it global in TypoScript or you can change your repository settings.
Just to go for sure: Rename your method to execute and let your class
You need to implement an „execute“ method into your task.
public function execute()
See documentation:
The only method that must be implemented is the execute() method which is
expected to perform the task logic.
To go for sure that the task is performed, you can var_dump something and
trigger
Yesterday i finally got my Typo3 Scheduler working the way i want. Mostly it was the
implementation of the CommandController into my extension that was a little bit
"problematic".
Now i have another question regarding the Scheduler and the CommandController
specifically. I have an Action i
10 matches
Mail list logo