Project

General

Profile

Actions

Bug #82369

closed

EXT:form - exception handling in form module if parse error exists

Added by Björn Jacob over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Form Framework
Target version:
-
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 #1

Updated by Daniel Lorenz over 6 years ago

  • Assignee set to Daniel Lorenz
Actions #2

Updated by Daniel Lorenz over 6 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Gerrit Code Review over 6 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

Actions #4

Updated by Gerrit Code Review over 6 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

Actions #5

Updated by Gerrit Code Review over 6 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

Actions #6

Updated by Gerrit Code Review over 6 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

Actions #7

Updated by Gerrit Code Review over 6 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

Actions #8

Updated by Gerrit Code Review over 6 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

Actions #9

Updated by Gerrit Code Review over 6 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

Actions #10

Updated by Daniel Lorenz over 6 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF