[TYPO3-mvc] Beware using Repository or Model in extension name
Steffen Kamper
info at sk-typo3.de
Wed Jul 29 15:23:50 CEST 2009
Hi,
today is my day - i'm running from one error into the next.
Starting with wrong naming of classes, then a typo which i didn't found,
then to very strange errors where datamapper searched classes by wrong name.
And - tara - i had the name ViewhelperRepository, and Repository was
taken from the name because:
$this->objectType = str_replace(array('_Repository_', 'Repository'),
array('_Model_', ''), $this->getRepositoryClassName());
Now i did the 3rd renaming and search for next errors ...
vg Steffen
More information about the TYPO3-project-typo3v4mvc
mailing list