[TYPO3-german] ignoriert newRecordStoragePid

Michael Roskosch info at all4pages.com
Tue Jul 19 20:01:24 CEST 2016


Ich hatte bis heute keine Probleme, die Datensätze der Models in die richtigen Ordner zu speichern.
Kann mir jemand helfen und sagen warum TYPO3 Stur alles in die storagePid 5 speichert?
Er nimmt immer die erste zahl aus der storagePid, in meinem Fall 5.

Er sollte doch aber Artikelgruppe und Artikel in den Ordner mit der PID 9 speichern.

setup.txt sieht so aus.

plugin.tx_artikel_artikel {
    view {
            templateRootPaths.0 = {$plugin.tx_artikel_artikel.view.templateRootPath}
            partialRootPaths.0 = {$plugin.tx_artikel_artikel.view.partialRootPath}
            layoutRootPaths.0 = {$plugin.tx_artikel_artikel.view.layoutRootPath}
    }
    persistence {
        storagePid = 5,9
        classes{
	    All4pages\Artikel\Domain\Model\Artikelgruppe{
		newRecordStoragePid = 9
	    }
	    All4pages\Artikel\Domain\Model\Artikel{
		newRecordStoragePid = 9
            }
        }
    }
}

TYPO3 7.6.9


More information about the TYPO3-german mailing list