Bug #21424
closedwizard_add.php not compatible with workspaces
0%
Description
This bug occurs when using the wizard_add.php together with TCA types "group" and "select". Records added in draft workspaces disappear when the workspace is published. This doesn't happen when adding the records via the list module, only when using the "+" icon next to a group/select field.
To reproduce, for example:
- use a draft workspace
- edit template record > include basis templates click on "add new" plus sign to create a new basis template and save
- publish workspace
- go back to find out that the new basis template has disappeared
I found out that this bug was fixed silently in the 4.3 branch just a few weeks ago (see http://forge.typo3.org/repositories/revision/typo3v4-core/6121). However it would be great to have it included in the 4.2 stable too.
I made a patch to fix 4.2 for my personal use, of which a diff file is included. It is based on the latest 4.3 svn version but without calls to t3lib_div::redirect to make it compatible with 4.2. The patch also fixes an issue with flexforms, apparently.
This is my first bug report & patch and I probably did something wrong about them, but bear with me - trying my best!
(issue imported from #M12431)
Files