[TYPO3-core] RFC #1104: Setting file fields in TCA to "required" makes it impossible to save the record - BUGGY
Stefan Geith
typo3dev2010.nospam1 at geithware.de
Tue Mar 9 16:21:55 CET 2010
Stefan Geith schrieb:
> Stefan Geith schrieb:
>> Oliver Hader schrieb:
>>> FYI: Committed to SVN:
>>> * TYPO3_4-2 (rev. 7083)
>>> * TYPO3_4-3 (rev. 7084)
>>> * Trunk (rev. 7085)
>>
>> Hmmm,
>> I have prblems with IRRE since this change ...
>> Trunk Rev.7080 is ok,
>> Trunk Rev 7084 gives a yellow exclamation mark, when creating a new
>> record. The whole Inlie-Field is marked, no specific input-field.
>> Same, when editing an existing Record ...
>>
>> Have to dig into this ...
>
> Seems to be line 227:
of file "typo3/jsfunc.tbe_editor.js"
>
> If I change it from (now)
> if (!TBE_EDITOR.checkRange(numberOfElements, elementData.range[0],
> elementData.range[1])) {
> to the old
> if (!TBE_EDITOR.checkRange(form, elementData.range[0],
> elementData.range[1])) {
>
> then all is OK again.
>
> /STefan
>
>
>>
>> /Stefan
>>
>>
>>
>>> Am 05.03.10 23:30, schrieb Ingmar Schlecht:
>>>> This is a SVN patch request.
>>>>
>>>> Type: bugfix
>>>>
>>>> Branches: trunk, 4.3, 4.2
>>>>
>>>> Bugtracker references:
>>>> http://bugs.typo3.org/view.php?id=1104
>>>>
>>>> Problem:
>>>> Setting file fields in TCA to "required" makes it impossible to save
>>>> the
>>>> record. (Or rather, setting minitems > 1, which is like required.)
>>>>
>>>> Solution:
>>>> Add the newly uploaded element to the count of total elements. This
>>>> also
>>>> makes maxitems work correctly for newly uploaded items.
>>>>
>>>> regards
>>>> - Tobi and Ingmar from Bugauction at T3DD10
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> _______________________________________________
>>>> Before posting to this list, please have a look to the posting rules
>>>> on the following websites:
>>>>
>>>> http://typo3.org/teams/core/core-mailinglist-rules/
>>>> http://typo3.org/development/bug-fixing/diff-and-patch/
>>>> _______________________________________________
>>>> TYPO3-team-core mailing list
>>>> TYPO3-team-core at lists.typo3.org
>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core
>>
>> _______________________________________________
>> Before posting to this list, please have a look to the posting rules
>> on the following websites:
>>
>> http://typo3.org/teams/core/core-mailinglist-rules/
>> http://typo3.org/development/bug-fixing/diff-and-patch/
>> _______________________________________________
>> TYPO3-team-core mailing list
>> TYPO3-team-core at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core
>
> _______________________________________________
> Before posting to this list, please have a look to the posting rules
> on the following websites:
>
> http://typo3.org/teams/core/core-mailinglist-rules/
> http://typo3.org/development/bug-fixing/diff-and-patch/
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core
More information about the TYPO3-team-core
mailing list