[TYPO3-english] Repository problem

Tomasz Krawczyk tomkrawc at gmail.com
Sat Mar 19 09:42:58 CET 2016


W dniu 2016-03-14 o 10:58, Nicole Cordes pisze:
> Hi Tomasz,
>
> Am 13.03.2016 um 12:49 schrieb Tomasz Krawczyk:
>> The method "findCurrent" is not supported by the repository.
>>
>> This method is defined in my repository.
>>
>> Did I miss some changes in Extbase?
>
> Can you give some more information about your extension? Seems the
> repository isn't injected anymore?
>
>
> Best regards,
> Nicole
>
> --
> Nicole Cordes
> TYPO3 CMS Core Team Member
> TYPO3 Security Team Co-Leader
>
> TYPO3 .... inspiring people to share!
> Get involved: typo3.org

Problem's solved.

My extension war running ok on TYPO3 6.2. In repository claaa it was 
using method names that are in 7.6 called magic methods (find*, finfBy*)

	public function findArchival() {
		$query = $this->createQuery();
		return $query->matching($query->equals('is_archival', TRUE))->execute();
	}

After I changed method names the ex is working fine.

cheers
Tomek



More information about the TYPO3-english mailing list