Bug #82369
closedEXT:form - exception handling in form module if parse error exists
100%
Description
I have testes some constellations of possible errors.
Testing Access Rights in Form Module¶
- access to form module (1)
- access to storage (2)
- parse error (3)
1: y
2: y
3: n
result: ok
1: y
2: n
3: n
result: ok: No accessible form storage folders
1: y
2: y
3: y
result: not ok:
Oops, an error occurred!
A parse error occurred while parsing file "/user_upload/test.yaml". Error message: Unable to parse at line 2 (near "type Form").
Testing Access Rights in Page Module¶
- access to page module (1)
- access to storage (2)
- parse error (3)
1: y
2: y
3: n
result: ok
1: y
2: n
3: n
result: ok: "1:/user_upload/test.yaml" (no read access).
1: y
2: y
3: y
result: ok:
Invalid configuration.
Invalid ext:form configuration. A parse error occurred while parsing file "/user_upload/test.yaml". Error message: Unable to parse at line 7 (near "type Page").
Result¶
As shown, the "Forms" module does not behave correctly if there is a syntax error in the Yaml file.
Updated by Daniel Gohlke about 7 years ago
- Status changed from New to In Progress
Updated by Gerrit Code Review about 7 years ago
- Status changed from In Progress 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/54014
Updated by Gerrit Code Review about 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54014
Updated by Gerrit Code Review about 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54014
Updated by Gerrit Code Review about 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54014
Updated by Gerrit Code Review about 7 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54014
Updated by Gerrit Code Review about 7 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54014
Updated by Gerrit Code Review about 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54027
Updated by Daniel Gohlke about 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d80bab4c19c9de5893093905744b40404ddf029a.