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 5 years ago. Updated 12 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend API
Target version:
-
Start date:
2014-02-18
Due date:
% Done:

100%

TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
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 TYPO3 Core - Task #56059: Category localization cannot be rendered Closed 2014-02-17
Related to TYPO3 Core - Task #56122: Use MM_oppositeUsage for category relations Closed 2014-02-19

Associated revisions

Revision 84e703a0 (diff)
Added by Oliver Hader over 5 years 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 (diff)
Added by Oliver Hader over 5 years 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 5 years ago

  • Tracker changed from Bug to Feature

#2 Updated by Gerrit Code Review over 5 years 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 5 years 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 5 years 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 5 years ago

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

#6 Updated by Oliver Hader over 5 years ago

  • Assignee set to Oliver Hader

#7 Updated by Benni Mack 12 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF