Reputation:
The findAll()
finds nothing in my repository in a Method in my FE but it works in my BE.
public function showAction() {
$p = $this->modulRepository->findAll();
$this->view->assign('pruefling',$p);
}
I tried to add
plugin.tx_rere.persistence.storagePid = 4
to my TypoScript Setup -> extbase repository findAll() returns result null. The table is not empty.
But it still does not work.
Upvotes: 1
Views: 1210
Reputation: 729
It happens because of not giving the exact storage pid:
plugin.tx_urpluggin.persistence.storagePid = 4
To know whether you give the correct storage pid:
If the storage pid is empty then click on that you will get a typoscript. Paste this into your main template.
Upvotes: 1