[TYPO3-german] The identity property "" is no UID.

g4-lisz at tonarchiv.ch g4-lisz at tonarchiv.ch
Fri Apr 25 13:05:35 CEST 2014


Hi,
wie sieht das öffnendes f.form tag aus und was erwartet die Ziel-Action
als Parameter?

Der Fehler ist m.E., dass Du kein property=... angegenen hast und die
Angabe optionValueField="ort" - da ist eher optionValueField="uid"
gefragt, aber das hängt von der entspr. Action ab.

Grüße,
Till

On 04/24/2014 10:20 AM, arianesardinas wrote:
> Hallo Leute
>
> ich habe eine Extbase Extension.
> ich habe 2 tabelle: jobs u location
>
> ich möchte in ein Select Feld gebaut, die alle Werte der tabelle
> loction auflistet.
> ich möchte aber  in optionValueField nicht die UID sondern ein anderes
> Feld der Tabelle location und zwar das "ort"
> also mein view sieht so aus:
>
> <f:form.select name="location" options="{locations}"
> value="{requestLocation}" optionValueField="ort" 
> optionLabelField="ort"  prependOptionLabel="Wo (Standort)..."
> class="form-control chosen-select"/>
>
> das problem ist das sobald das formular abgesndet wird, bekomme ich
> eine fehlermeldung:
> #1297759968: Exception while property mapping at property path "":The
> identity property "Aalen" is no UID
>
> gibt es eine möglichkeit das feld nicht zu validieren? Wie kann man
> das realisieren?
> danke in voraus!
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german



More information about the TYPO3-german mailing list