Bug #91367

TYPO3 9.5.17 error with ext:form and upload fields

Added by Raphael Zschorsch over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2020-05-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

With TYPO3 9.5.17, I have an error, when adding a file or image upload field to ext:form. Also, the error occurs, when trying to edit a form with such a field through backend UI.

Oops! Something went wrong.
Please contact your administrator.

Technical Reason:
Invalid parameter "key" (1475361755)

With TYPO3 9.5.16 everything works fine.


Files


Related issues

Related to TYPO3 Core - Bug #91334: XSS in jQuery <3.5.0Closed2020-05-07

Actions
Related to TYPO3 Core - Bug #91410: Form Module doesn't show finisher after recent TYPO3 9.5.17 security fixesClosed2020-05-15

Actions
Has duplicate TYPO3 Core - Bug #91405: Form editor fails when editing FileUpload fields due to changes in how jQuery parses html with 3.5.0Closed2020-05-14

Actions
Has duplicate TYPO3 Core - Bug #91379: form: finisher configuration not visibleClosed2020-05-13

Actions
Has duplicate TYPO3 Core - Bug #91426: Form Extension: FileUpload field produces javascript errorClosed2020-05-18

Actions
Has duplicate TYPO3 Core - Bug #91437: Form error on FileUpload sectionClosed2020-05-19

Actions
#1

Updated by Raphael Zschorsch over 1 year ago

Same thing happens with TYPO3 10.4.2.

In version 10.4.1, there's no error.

#2

Updated by Mathias Brodala over 1 year ago

  • Description updated (diff)
#3

Updated by Mathias Brodala over 1 year ago

  • Description updated (diff)
#4

Updated by Andreas Kiessling over 1 year ago

The jQuery patch seems to be responsible, after reverting https://github.com/TYPO3/TYPO3.CMS/commit/14849c32c430947d5575f8cfaf51017d8f5df100 the form works again.

#5

Updated by Oliver Hader over 1 year ago

Stack Trace analysis v10.4.2

Error: Invalid parameter "key" (1475361755)
    at Object.assert (VM724 Core.js:124)
    at Object.get (VM724 Core.js:791)
    at renderFileUploadTemplates (VM728 StageComponent.js:1095)
    at _renderTemplateDispatcher (VM728 StageComponent.js:250)
    at _renderNestedSortableListItem (VM728 StageComponent.js:328)
    at _renderNestedSortableListItem (VM728 StageComponent.js:338)
    at renderFormDefinitionPageAsSortableList (VM728 StageComponent.js:549)
    at Object.renderAbstractStageArea (VM728 StageComponent.js:765)
    at render (VM722 ViewModel.js:1005)
    at renderAbstractStageArea (VM722 ViewModel.js:1054)

A bunch of variables seem to be undefined at

    at renderFileUploadTemplates (VM728 StageComponent.js:1095)
#6

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/c/Packages/TYPO3.CMS/+/64479

#7

Updated by Oliver Hader over 1 year ago

Potential regular expression to search for occurrences (contains false-positives as well)

<[a-z]+(?!:)(?:\s+[^>\/]+)\s*\/\s*>
#8

Updated by Oliver Hader over 1 year ago

  • Is Regression set to Yes
#9

Updated by Oliver Hader over 1 year ago

  • Related to Bug #91334: XSS in jQuery <3.5.0 added
#10

Updated by Oliver Hader over 1 year ago

  • Target version set to 9.5.18 & 10.4.3
#11

Updated by Oliver Hader over 1 year ago

  • Related to Bug #91405: Form editor fails when editing FileUpload fields due to changes in how jQuery parses html with 3.5.0 added
#12

Updated by Oliver Hader over 1 year ago

  • Related to deleted (Bug #91405: Form editor fails when editing FileUpload fields due to changes in how jQuery parses html with 3.5.0)
#13

Updated by Oliver Hader over 1 year ago

  • Has duplicate Bug #91405: Form editor fails when editing FileUpload fields due to changes in how jQuery parses html with 3.5.0 added
#14

Updated by Oliver Hader over 1 year ago

  • Related to Bug #91379: form: finisher configuration not visible added
#15

Updated by Gerrit Code Review over 1 year ago

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

#16

Updated by Oliver Hader over 1 year ago

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

Updated by Oliver Hader over 1 year ago

  • Related to deleted (Bug #91379: form: finisher configuration not visible)
#18

Updated by Oliver Hader over 1 year ago

  • Has duplicate Bug #91379: form: finisher configuration not visible added
#19

Updated by Francois Suter over 1 year ago

Is a hotfix release planned?

#20

Updated by Oliver Hader over 1 year ago

  • Related to Bug #91410: Form Module doesn't show finisher after recent TYPO3 9.5.17 security fixes added
#21

Updated by Andreas Fernandez over 1 year ago

  • Has duplicate Bug #91426: Form Extension: FileUpload field produces javascript error added
#22

Updated by Andreas Fernandez over 1 year ago

  • Has duplicate Bug #91437: Form error on FileUpload section added
#23

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF