forked from FluidTYPO3/flux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Dont assign random flux parent to translations
While translating records the newly created record currently always gets assigned a flux parent record even if the origin had no parent record. When searching for the nonexisting parent record the database will return a rather random record. So any translated record without a flux parent got this random record assigned. If this random record is deleted by an editor TYPO3 will check for any related records and delete these as well. This may result in the deletion of all previously translated records. Test for the existence of a parent record value in the origin record to prevent the wrong relation. Refs FluidTYPO3#1176
- Loading branch information
1 parent
36261b1
commit 36ed00f
Showing
2 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters