Actions
Bug #82369
closedEXT:form - exception handling in form module if parse error exists
Start date:
2017-09-08
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Remote Sprint
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.
Actions