Hallo

Ich habe heute mein bestehendes Domänenmodel um ein Property erweitert und
plötzlich bekomme ich den Fehler „Exception while property mapping at
property path "contact":It is not allowed to map property "position".“ Das
kann aber garnicht sein, denn in meinem Controller habe ich eine Methode
initializeCreateAction mit folgendem Code:

/**
         * @return void
         */
        public function initializeCreateAction(){
            $accreditationMappingConfiguration =
$this->arguments->getArgument('newAccreditation')->getPropertyMappingConfigu
ration();
            if (TYPO3_MODE === 'BE'){
                $accreditationMappingConfiguration->allowAllProperties();
            }else{
 
$accreditationMappingConfiguration->allowAllPropertiesExcept('status','user'
);
            }
 
$accreditationMappingConfiguration->setTypeConverterOption('TYPO3\CMS\Extbas
e\Property\TypeConverter\PersistentObjectConverter',
\TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter::CONFIGU
RATION_CREATION_ALLOWED, TRUE);
        }

contact ist ein Property von newAccreditation.

Wo kann der Fehler noch herkommen? Wie gesagt, alle anderen
contact-Properties funktionieren anstandslos.

Johannes

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an