Project

General

Profile

Actions

Bug #64535

closed

Suppress useCombination warning for certain fields

Added by Andreas Allacher about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2015-01-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

It would be nice to suppress the useCombination warning for certain fields.


Files

demoinline.zip (8.37 KB) demoinline.zip Andreas Allacher, 2015-01-30 13:33
Warning Message.png (26.6 KB) Warning Message.png warning message Andreas Allacher, 2015-01-30 13:33
suppressed_warning.png (23.7 KB) suppressed_warning.png suppressed warning message Andreas Allacher, 2015-01-30 13:33
Actions #1

Updated by Mathias Schreiber about 9 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Mathias Schreiber

Could you add some info to the report?
I have troubles understanding what you refer to :)

Actions #2

Updated by Andreas Allacher about 9 years ago

Sorry.
I meant if I use a TCA configuration for an inline field in combination with the appearance setting useCombination.
The foreign_selector record will that way be rendered as inline field.

However, that way I get a warning when editing the record that it is edited "globally" which makes sense in a way but might not be necessary all the time.

Furthermore, if one mainly uses it to render the foreign_selector record (it is necessary to create the intermediate table to use foreign_selector)
and suppress all fields in the intermediate table then I have an empty line from not used tabs of the record of the intermediate table.

I mean the message in \TYPO3\CMS\Backend\Form\Element\InlineElement::renderCombinationTable:

    $flashMessage = GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Messaging\\FlashMessage', $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.inline_use_combination'), '', FlashMessage::WARNING);
            $out = $flashMessage->render();

Actions #3

Updated by Gerrit Code Review about 9 years ago

  • Status changed from Needs Feedback 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 http://review.typo3.org/36415

Updated by Andreas Allacher about 9 years ago

Demo EXT and possible solution added.

Though it might also be a good idea to not only suppress but also allow to modify the message.

Actions #5

Updated by Gerrit Code Review about 9 years ago

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

Actions #6

Updated by Gerrit Code Review about 9 years ago

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

Actions #7

Updated by Gerrit Code Review over 8 years ago

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

Actions #8

Updated by Gerrit Code Review over 8 years ago

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

Actions #9

Updated by Gerrit Code Review over 8 years ago

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

Actions #10

Updated by Gerrit Code Review over 8 years ago

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

Actions #11

Updated by Andreas Allacher over 8 years ago

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

Updated by Gerrit Code Review over 8 years ago

  • Status changed from Resolved 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 http://review.typo3.org/42314

Actions #13

Updated by Gerrit Code Review over 8 years ago

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

Actions #14

Updated by Christian Kuhn over 8 years ago

  • Status changed from Under Review to Resolved
Actions #15

Updated by Gerrit Code Review over 8 years ago

  • Status changed from Resolved 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 http://review.typo3.org/42315

Actions #16

Updated by Andreas Fernandez over 8 years ago

  • Status changed from Under Review to Resolved
Actions #17

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF