Bug #50181

[DOC] wrong number regarding multiple upload fields

Added by Cedric Ziel about 2 years ago. Updated about 2 years ago.

Status:Resolved Start date:2013-07-19
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:- Documentation -
Target version:-
PHP Version: Complexity:no-brainer
Has patch:No Affected Flow version:Git master

Description

Though this is small, the docs state that

<f:form.upload property="attachments.0.originalResource" />
<f:form.upload property="attachments.1.originalResource" />

translates to
<input type="file" name="formObject[attachments][0][originalResource]">
<input type="file" name="formObject[attachments][0][originalResource]">

Obviously, this is not the case. Second index is 1.

Associated revisions

Revision d4448a68
Added by Cedric Ziel about 2 years ago

[BUGFIX] Fix index number regarding upload fields in definitiv guide

The docs state a wrong number on the generated tags.

Though this is small, the docs state that

<f:form.upload property="attachments.0.originalResource" />
<f:form.upload property="attachments.1.originalResource" />

translates to
<input type="file" name="formObject[attachments][0][originalResource]">
<input type="file" name="formObject[attachments][0][originalResource]">

Obviously, this is not the case. Second index is 1.

Change-Id: I8a57567531243ab4cfd14a05dbda1759fb648a97
Resolves: #50181
Releases: master

History

#1 Updated by Gerrit Code Review about 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22416

#2 Updated by Gerrit Code Review about 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22416

#3 Updated by Cedric Ziel about 2 years ago

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

Also available in: Atom PDF