[TYPO3-dev] New extension does not find entry in db

Bastian Bringenberg bastian.bringenberg at typo3.org
Sun Aug 9 19:25:29 CEST 2015


Hey Dirk,

have you set plugin.tx_YOUREXTENSION.persistence.storagePid = YOURID?

Alternative you are able to set the storage in the Content Element itself =). Looks like this is missing =).

Have a nice day,

Bastian

-- 
Bastian Bringenberg
TYPO3 Server Administration Team Member

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org <http://typo3.org/>
> Am 09.08.2015 um 19:16 schrieb DirkHo <dirk_studivz at web.de>:
> 
> Hi all,
> 
> I created an extension in Extension Builder, including a frontend plugin. In the backend I added values for the model I try to read and they also appear in the database.
> 
> Now I added the frontend plugin to a page and called the typo3 frontend. I see the headers that are within the template, created by Extension Builder. I cleared all Caches over the Installation-View.
> 
>    public function listAction()
>    {
> try {
>        $sportsBetLeagues = $this->sportsBetLeagueRepository->findAll();
>        $this->view->assign('sportsBetLeagues', $sportsBetLeagues);
> } catch (Exception $e) {
>    $blubb = $e->getMessage();
> }
>    }
> 
> To check, if an error occurres, I checked the php_errors.log and set a breakpoint to $sportsBetLeagues = ... and $blubb = $e->getMessage(); but the breakpoint never stops at $blubb = ...
> 
> It seems to work everything as expected except that there's no data shown.
> 
> Any ideas or hints what I can check?
> 
> THanks and kind regards,
> Dirk
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev




More information about the TYPO3-dev mailing list