Skip to content
  • Alexander Stehlik's avatar
    [BUGFIX] Avoid superfluous IRRE child record duplication · c81102bf
    Alexander Stehlik authored and Oliver Hader's avatar Oliver Hader committed
    If copying a page, all records on that page will be copied to
    the accordant destination page. IRRE parent-child structures
    are cloned along the way as well. However, if a table (that is
    defined a IRRE child) is processed before the accordant parent
    record, the parent itself will duplicate its children again.
    This behaviour leads to superfluous duplicates and is wrong.
    
    A check in DataHandler::copyRecord_procBasedOnFieldType() now
    ensures that records are only copied once during the accordant
    DataHander copy process.
    
    Resolves: #44795
    Releases: 6.2
    Change-Id: Ia1e4129432f37c0dd6bfedb5fd69394e2c244d34
    Reviewed-on: https://review.typo3.org/26552
    Reviewed-by: Oliver Hader
    Tested-by: Oliver Hader
    c81102bf