Feature #61031

Implement flash message warning when max number of items is reached in IRRE field

Added by Nikola Stojiljković almost 5 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2014-08-18
Due date:
% Done:

100%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Tomas Norre Mikkelsen (from internal ticket):
When we have set the limit for FAL items like this:

'thumb' => array(
            'exclude' => 1,
            'label' => 'LLL:EXT:sonyswt_entertainment/Resources/Private/Language/locallang_db.xml:tx_sonyswtentertainment_domain_model_games.thumb',
            'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('thumb',
                            array(
                                'minitems' => 0,
                                'maxitems' => 1
                            )
                    ),
        ),

I should see a flash message or have the buttons disabled so i cannot add new/extra images references.
Right now you can select and image, but nothing happens you don't get any information that it's not possible.

Related conversations:

Related issues

Related to TYPO3 Core - Bug #45125: Hide "Create new relation" for FAL fields, if maxitems = 1 and an image is selected Closed 2013-02-04

Associated revisions

Revision ab574d02 (diff)
Added by Nikola Stojiljković over 4 years ago

[TASK] Flash message warning for max number of IRRE items

Implements flash message warning when max number of items
is reached in IRRE field.

Resolves: #61031
Releases: master
Change-Id: I00c243a2878f70d1c01e137d3477ada1011182ca
Reviewed-on: http://review.typo3.org/32221
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Benjamin Mack <>
Tested-by: Benjamin Mack <>

History

#1 Updated by Nikola Stojiljković almost 5 years ago

  • Assignee set to Nikola Stojiljković
  • Target version set to 7.0

#2 Updated by Nikola Stojiljković almost 5 years ago

TYPO3 6.2 patch pushed to gerrit for review: http://review.typo3.org/32220 (sorry for not pushing with proper issue number in the commit message).

TYPO3 6.3 patch will follow shortly.

#3 Updated by Gerrit Code Review almost 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 http://review.typo3.org/32221

#4 Updated by Gerrit Code Review almost 5 years ago

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

#5 Updated by Gerrit Code Review almost 5 years ago

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

#6 Updated by Nikola Stojiljković almost 5 years ago

Sorry for spamming, patchset 1 for TYPO3_6-2 branch had no relation to this issue, while patchset 2 had additional files which are work in progress on another TYPO3 core issue... Please review patchset 3.

#7 Updated by Gerrit Code Review almost 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 http://review.typo3.org/32221

#8 Updated by Gerrit Code Review almost 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 http://review.typo3.org/32221

#9 Updated by Gerrit Code Review almost 5 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/32221

#10 Updated by Mathias Schreiber over 4 years ago

  • Target version changed from 7.0 to 7.1 (Cleanup)

#11 Updated by Gerrit Code Review over 4 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/32221

#12 Updated by Gerrit Code Review over 4 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/32221

#13 Updated by Gerrit Code Review over 4 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/32221

#14 Updated by Gerrit Code Review over 4 years ago

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

#15 Updated by Gerrit Code Review over 4 years ago

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

#16 Updated by Gerrit Code Review over 4 years ago

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

#17 Updated by Gerrit Code Review over 4 years ago

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

#18 Updated by Gerrit Code Review over 4 years ago

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

#19 Updated by Nikola Stojiljković over 4 years ago

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

#20 Updated by Benni Mack over 4 years ago

  • Sprint Focus set to On Location Sprint

#21 Updated by Anja Leichsenring over 3 years ago

  • Sprint Focus deleted (On Location Sprint)

#22 Updated by Riccardo De Contardi over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF