[BUGFIX] JS: Invert dependency definition for FormEngine and Validation 07/52207/3
authorMarkus Klein <markus.klein@typo3.org>
Mon, 27 Mar 2017 13:45:58 +0000 (15:45 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 28 Mar 2017 09:36:31 +0000 (11:36 +0200)
commit75501977b71fbe69572118c633ac95c052d34569
treec738b34b12d05f44addd9cdc477c7bf87f95dc91
parent3bbb22854258a1b0c0098db0d3f4f01c87bf0bd2
[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/52207
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/backend/Classes/Form/FormResultCompiler.php
typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js
typo3/sysext/backend/Resources/Public/JavaScript/FormEngineValidation.js