Task #56061

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

Introduce MM_oppositeUsage property

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

Status:Resolved Start date:2014-02-18
Priority:Should have Due date:
Assigned To:Oliver Hader % Done:

100%

Category:Backend API Spent time: 1.47 hour
Target version:-
TYPO3 Version:6.2 Complexity:
PHP Version:5.3 Sprint Focus:

Description

On copying a sys_category record, a new MM reference is created, however without setting the "fieldname".
This value is basically defined from the opposite entity with MM_match_fields, but cannot be accessed.

This change introduces the MM_oppositeUsage property for MM definitions in the TCA.

Example:

...
'allowed' => '*',
'MM' => 'tx_myextension_first_second_mm',
'MM_oppositeUsage' => array(
'tt_content' => array('somefield'),
'tx_myextension_domain_model' => array('some_property'),
),
...


Related issues

related to Core - Task #56059: Category localization cannot be rendered Resolved 2014-02-17
related to Core - Task #56122: Use MM_oppositeUsage for category relations Resolved 2014-02-19
related to TCA Reference - Feature #56123: Introduce MM_oppositeUsage property Closed 2014-02-19

Associated revisions

Revision 84e703a0
Added by Oliver Hader over 1 year ago

[FEATURE] Introduce MM_oppositeUsage property

On copying a sys_category record, a new MM reference is created,
however without setting the "fieldname". This value is basically
defined from the opposite entity with MM_match_fields, but
cannot be accessed.

This change introduces the MM_oppositeUsage property for MM
definitions in the TCA.

Example:
'config' => array(
'allowed' => '*',
'MM' => 'tx_myextension_first_second_mm',
'MM_oppositeUsage' => array(
'tt_content' => array('somefield'),
'tx_myextension_domain_model' => array('some_property'),
),
),

Resolves: #56061
Documentation: #56123
Releases: 6.2
Change-Id: I26fd54688cf44d6a026ccdb3ca9276583b32acd3
Reviewed-on: https://review.typo3.org/27677
Reviewed-by: Wouter Wolters
Reviewed-by: Ernesto Baschny
Tested-by: Wouter Wolters
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader

Revision 8bed9bcf
Added by Oliver Hader over 1 year ago

[BUGFIX] Use MM_oppositeUsage for category relations

The MM_oppositeUsage property allows to apply match fields
of the opposite relation to MM records. This feature shall
be enabled for sys_category records as well.

Resolves: #56122
Related: #56061
Releases: 6.2
Change-Id: I33c9f3c471d66c4154be5c2fb5180254401096f0
Reviewed-on: https://review.typo3.org/27731
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader

History

#1 Updated by Oliver Hader over 1 year ago

  • Tracker changed from Bug to Feature

#2 Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

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

#3 Updated by Gerrit Code Review over 1 year ago

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

#4 Updated by Gerrit Code Review over 1 year ago

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

#5 Updated by Oliver Hader over 1 year ago

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

#6 Updated by Oliver Hader over 1 year ago

  • Assigned To set to Oliver Hader

Also available in: Atom PDF