[TYPO3-mvc] No results from FE-User-Repository
Johannes Steu
typo at motiv-sport.de
Tue Feb 28 19:22:37 CET 2012
That's what my TypoScript looks like:
plugin.tx_fhdorequest {
view {
templateRootPath = {$plugin.tx_fhdorequest.view.templateRootPath}
partialRootPath = {$plugin.tx_fhdorequest.view.partialRootPath}
layoutRootPath = {$plugin.tx_fhdorequest.view.layoutRootPath}
}
persistence {
storagePid = 29,74
}
}
page.includeCSS.request = EXT:fhdo_request/Resources/Public/CSS/styles.css
config.tx_extbase.persistence.classes {
Tx_FhdoRequest_Domain_Model_Group {
mapping {
tableName = fe_groups
}
}
Tx_FhdoRequest_Domain_Model_User {
mapping {
tableName = fe_users
recordType = Tx_Extbase_Domain_Model_FrontendUser
}
}
}
i put the
config.tx_extbase_persistence.storagePid = 29,74 also into the script, same bad results.
Any other ideas?
Regards,
Johannes
Am 28.02.2012 um 19:07 schrieb Georg Grossberger:
> From the top of my head, i would say like this:
>
> config.tx_extbase.persistence.storagePid = 1234
>
>
> On 2012-02-28 18:43, Johannes Steu wrote:
>> What would the TypoScript look like?
>>
>> I'm using a group repository and a user_repository, both data are in one sys-folder and my
>> main data (requestRepository) in another.
>>
>> Regards
>>
>>
>> Am 24.02.2012 um 22:33 schrieb Oliver Klee:
>>
>>> Hi,
>>>
>>> Am 23.02.2012 23:45, schrieb Johannes Steu:
>>>> $this->userRepository->findByUid(3)
>>>>
>>>> is working correctly and gives a User-Ojekt.
>>>> How can i get findAll() working correctly?
>>>
>>> have you set a storage PID?
>>>
>>>
>>> Oli
>>> --
>>> Certified TYPO3 Integrator | TYPO3 Security Team Member
>>> _______________________________________________
>>> TYPO3-project-typo3v4mvc mailing list
>>> TYPO3-project-typo3v4mvc at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>>>
>>
>
> _______________________________________________
> 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