Skip to content
  • Christian Kuhn's avatar
    [BUGFIX] Workspace and reference index fixes · cd94f3dd
    Christian Kuhn authored
    This drops all left over calls that suppress the refindex
    integrity checks in DataHandler functional tests, except those
    within ManyToMany tests: This area needs more work before the
    reference index can be fixed.
    
    Two bugs indirectly related to the reference index are fixed
    along the way, those can't be separated as standalone patches:
    
    * When a translated page is deleted in workspaces, the
      DataHandler deleted live records on this page, too. This
      is fixed by adding a proper db restriction. This also
      fixes the reference index state in this scenario.
    
    * When publishing a delete placeholder that has inline children,
      workspace delete placeholders are created for the children, which
      is wrong. This happens because the user is not set to the live
      workspace during the publish operation. Temporarily changing the
      user workspace to live not only fixes the reference index, but
      does not create the bogus inline children placeholder records
      anymore, too.
    
    Change-Id: I897f6a93b1d5a579bfa5c52e93e65119a018e4aa
    Resolves: #92589
    Related: #92467
    Releases: master, 10.4
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66168
    
    
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
    Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
    cd94f3dd