#82022DataHandler doesn't store first record in foreign table as value for new record
Description
TCA:
tx_myext_department +- config | +- foreign_table = tx_myext_departments | +- foreign_table_where = ORDER BY tx_myext_departments.department | +- maxitems = 1 | +- minitems = 1 | +- renderType = selectSingle | +- size = 1 | +- type = select +- exclude = 0 +- label = LLL:EXT:myext_metadata/locallang_db.xlf:pages.tx_myext_department
If new pages records are created from the page tree context menu or with the new record wizard the FormEngine ™ kicks in and correctly selects the first record. If a new page is created by dragging in the page tree the field gets the value 0 which is later on displayed as [ INVALID VALUE (“0”) ]
In TYPO3 6.2 the same configuration worked fine when creating new pages by dragging in the page tree. As the DataHandler is directly invoked by Ajax calls when you create a page in the pagetree the problem is most likely located in the DataHandler.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.