Task #56376

Epic #55070: Workpackages

Epic #54851: WP: Workspaces IRRE & MM bugfixes

Story #54853: As a user I want to correctly create, modify, preview and publish IRRE & MM related workspace changes

Invalid relations of IRRE records in workspaces

Added by Oliver Hader over 1 year ago. Updated about 1 year ago.

Status:Resolved Start date:2011-08-26
Priority:Should have Due date:
Assigned To:Oliver Hader % Done:

100%

Category:Workspaces Spent time: 39.64 hours
Target version:-
TYPO3 Version:6.2 Complexity:
PHP Version:5.3 Sprint Focus:

Description

  • general -> always use live id as pointer value
  • create records -> automatically fill placeholder pointers
  • copy records -> currently leads to problems with sorting
  • move records -> follow and create child move placeholders
    • Add new TCA control section property for placeholder values:
    • $TCA[<table>]['ctrl']['shadowColumnsForMovePlaceholders']
  • delete records -> forward delete data in copy(!) process

The related subtasks are put on hold since they had a different approach about one year ago.
These changes are part of this issue now since they need to be processed at the same time, e.g. localization and copy is basically the same.


Subtasks

Task #29278: Lost relations on copying IRRE children in workspacesRejected

Task #45132: Faulty translation behavior of IRRE using workspacesRejected

Task #45676: Workspace references are not consideredRejected

Task #45151: IRRE 1n:csv parent records point to workspace placeholderRejectedOliver Hader

Task #56977: Save current workspace in ReferenceIndexResolvedOliver Hader

Task #56994: Introduce shadowColumnsForMovePlaceholders propertyResolvedOliver Hader

Task #45133: New IRRE parent-child-structures are not removedClosedOliver Hader


Related issues

related to TCA Reference - Feature #56749: New TCA control property shadowColumnsForMovePlaceholders Closed 2014-03-11
related to Core - Bug #61750: Child sorting is lost after publishing workspace data Under Review 2014-09-19

Associated revisions

Revision 740b4435
Added by Oliver Hader over 1 year ago

[BUGFIX] Invalid relations of IRRE records in workspaces

  • general -> always use live id as pointer value
  • create records -> automatically fill placeholder pointers
  • copy records -> currently leads to problems with sorting
  • move records -> follow and create child move placeholders
  • delete records -> forward delete data in copy(!) process
  • ReferenceIndex needs to hold the most specific relations
    since the CommandMap handler is based on this information
  • ReleationHandler is extended for IRRE references to fetch
    the live default parent pointer automatically (this new
    behaviour can be disabled by public methods for each
    RelationHandler instance)
  • The method version_swap_procBasedOnFieldType of the version
    DataHandlerHook is completely removed since IRRE records are
    now referenced using the live default parent pointer value
  • UserTSconfig property options.workspaces.swapMode is set
    to "pages" per default - thus, if a page gets published all
    accordant records on that page are published as well

Resolves: #56376
Releases: 6.2
Change-Id: I75248d10b000de73ca623770f07e8c2e89d4cdd8
Reviewed-on: https://review.typo3.org/27774
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader

History

#1 Updated by Oliver Hader over 1 year ago

  • Status changed from New to Accepted

#2 Updated by Gerrit Code Review over 1 year ago

  • Status changed from Accepted to Under Review

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27774

#3 Updated by Gerrit Code Review over 1 year ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27774

#4 Updated by Gerrit Code Review over 1 year ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27774

#5 Updated by Gerrit Code Review over 1 year ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27774

#6 Updated by Gerrit Code Review over 1 year ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27774

#7 Updated by Gerrit Code Review over 1 year ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27774

#8 Updated by Gerrit Code Review over 1 year ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27774

#9 Updated by Gerrit Code Review over 1 year ago

Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27774

#10 Updated by Gerrit Code Review over 1 year ago

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27774

#11 Updated by Gerrit Code Review over 1 year ago

Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27774

#12 Updated by Gerrit Code Review over 1 year ago

Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27774

#13 Updated by Gerrit Code Review over 1 year ago

Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27774

#14 Updated by Oliver Hader over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 57 to 100

Also available in: Atom PDF