Project

General

Profile

Actions

Bug #80678

closed

When the used form.yaml is removed you run into an exception in the backend

Added by Frans Saris over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2017-04-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Remote Sprint

Description

Missing config file shouldn't result in exception

Oops, an error occurred!
File /introduction/form/contactform.yaml does not exist.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #81113: Backend User without permission to File Storage get Exception upon opening page with formClosedRalf Zimmermann2017-05-02

Actions
Actions #1

Updated by Ralf Zimmermann over 7 years ago

  • Description updated (diff)

The exceptions are intended. With Exceptions you see directly what's happened.
We think the integrator should know that ext:form is incorrectly configured.
For this, we introduced many speaking Exceptions.

Actions #2

Updated by Frans Saris over 7 years ago

But that doesn't help the normal editor.

Currently the whole page module is blocked and there is no way to fix the form CE.

The exception should be turned into a flash message so the editor can reach the CE and fix it without replacing the removed yaml file

Actions #3

Updated by Ralf Zimmermann over 7 years ago

Ok, then this are the places

Plugin:
TYPO3\CMS\Form\Hooks\DataStructureIdentifierHook::parseDataStructureByIdentifierPostProcess:94

Page module preview:
TYPO3\CMS\Form\Hooks\FormPagePreviewRenderer::preProcess:57

Actions #4

Updated by Ralf Zimmermann over 7 years ago

  • Related to Bug #81113: Backend User without permission to File Storage get Exception upon opening page with form added
Actions #5

Updated by Gerrit Code Review over 7 years 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/52701

Actions #6

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

Actions #7

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

Actions #8

Updated by Björn Jacob about 7 years ago

  • Sprint Focus set to Remote Sprint
Actions #9

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/52701

Actions #10

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/53942

Actions #11

Updated by Ralf Zimmermann about 7 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF