[BUGFIX] JS: Invert dependency definition for FormEngine and Validation 78/52178/2
authorMarkus Klein <markus.klein@typo3.org>
Mon, 27 Mar 2017 13:45:58 +0000 (15:45 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 27 Mar 2017 17:33:35 +0000 (19:33 +0200)
commitbfb2290ae3ceaffc783329c0bd54355e3fb38ee3
tree16374d8a9c49c6003d05b281a596958b26d1c193
parent0ca82b8c9d0bf09b57b9f0a54d8ba29e2f2daf4c
[BUGFIX] JS: Invert dependency definition for FormEngine and Validation

FormEngineValidation is meant as integral part of FormEngine.
The current dependency definition is inverted, such that FormEngine
now depends on FormEngineValidation and not the other way around.
Note that FormEngineValidation does not need any other feature
of FormEngine, so this is safe.

This solves a possible race condition with other modules.

Releases: master, 7.6
Resolves: #80459
Change-Id: Ie2cb9dd90220b37a98bc8e3ca174fd074488cc8d
Reviewed-on: https://review.typo3.org/52178
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Kay Strobach <typo3@kay-strobach.de>
Tested-by: Kay Strobach <typo3@kay-strobach.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/FormResultCompiler.php
typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js
typo3/sysext/backend/Resources/Public/JavaScript/FormEngineValidation.js