nhovratov / jobfair

5 stars 4 forks source link

Property mapping error with additional fields #5

Closed the-andyman closed 11 months ago

the-andyman commented 2 years ago

First of all, thank you for the further development of the extension.

Unfortunately, I have a problem when sending the application it then appears the following 503 error message:

ErrorCore: Exception handler (WEB): Uncaught TYPO3 Exception: #1297759968: Exception while property mapping at property path "": Property "firstname" was not found in target object of type "Dan\Jobfair\Domain\Model\Application".

I had added a field called firstname to the application form.

In the AdditionalConfiguration.php I have set the templateRootPaths and layoutRootPaths as in the documentation.

Im using TYPO3 11.5.12 and jobfair 4.0.2

What can be the reason for the problem?

nhovratov commented 2 years ago

Hi, the error appears, because your new field "firstname" does not exist in the Model "Application". Here is what you need to do: