Bug #46477
closedIRRE shows no field values with useCombination
100%
Description
Hello Core-Team,
I have implemented an irre field with an intermediate table. Let's say I have Events with a Location.
In table "event" I have a field "location" configured with foreign_selector, foreign_unique and useCombination. First of all I wonder: Where is the red color? In my opinion all fields have a red border when I configure an irre field that way. OK...maybe you have changed this within the last year.
I select a new entry from selectbox (foreign_selector) and after saving everything seems to be good. So I create a new entry (add new (useCombination)) but after saving my previous selected entry has no values anymore. My newly created entry seems to be OK.
I have inspected one of the empty fields:
<span class="t3-tceforms-input-wrapper" onmouseover="if (document.getElementById('tceforms-textfield-514a161d7288a').value) {this.className='t3-tceforms-input-wrapper-hover';} else {this.className='t3-tceforms-input-wrapper';};" onmouseout="this.className='t3-tceforms-input-wrapper';"><span tag="a" class="t3-icon t3-icon-actions t3-icon-actions-input t3-icon-input-clear t3-tceforms-input-clearer" onclick="document.getElementById('tceforms-textfield-514a161d7288a').value='';document.getElementById('tceforms-textfield-514a161d7288a').focus();typo3form.fieldGet('data[tx_events2_domain_model_location][2][location]','trim','',1,'');TBE_EDITOR.fieldChanged('tx_events2_domain_model_location','2','location','data[tx_events2_domain_model_location][2][location]');"> </span><input type="text" id="tceforms-textfield-514a161d7288a" class="formField1 tceforms-textfield hasDefaultValue" name="data[tx_events2_domain_model_location][2][location]_hr" value="" style="width: 288px; " maxlength="256" onchange="typo3form.fieldGet('data[tx_events2_domain_model_location][2][location]','trim','',1,'');TBE_EDITOR.fieldChanged('tx_events2_domain_model_location','2','location','data[tx_events2_domain_model_location][2][location]');"><input type="hidden" name="data[tx_events2_domain_model_location][2][location]" value="Haus Dahl"></span>
As you can see, the value "Haus Dahl" was found, but I can't see this value in the field!
I have tested it on two different TYPO3-Systems using 4.7.10.
Any ideas?
Stefan
Files