[TYPO3-mvc] access Attributes of IRRE relation

Anja Leichsenring aleichsenring at ab-softlab.de
Thu Jul 11 12:52:15 CEST 2013


Hi Thomas,

I take it, you use a TYPO3 version previous 6.0, and your intermediate 
table (the one that stores the relation) contains the field you want to 
access?
Given this guesses are right, you need to update to TYPO3 6.1, because 
the handling, that is similar to FAL with the sys_file and the 
sys_file_reference table was fixed there.
I think your enemy is the foreign_table selector, that prevents you from 
accessing fields in the intermediate table.

Find the corresponding change here:
https://review.typo3.org/#/c/17159/

Greetings
Anja

On 07/11/2013 12:36 PM, Thomas Mammitzsch wrote:
> hi list,
>
> i want to store an attribute in a IRRE relation. I have the following:
>
> Customer n:n Insurance
>
> The relation should have the calculated Rate for the selected Insurance.
> I made the $TCA part, but have no idea how to access it with extbase. I
> tried to make a Model for the relation and added it as a property to
> Insurance, but the property doesn't get set.
> Is it maybe a naming thing?
>
> The TCA array is $TCA["tx_myext_customer_insurance_rel"], the domain
> model is called Tx_Myext_Domain_Model_CustomerInsuranceRel.
>
> What am i doing wrong?
>
> regards, Thomas



More information about the TYPO3-project-typo3v4mvc mailing list