romm / formz

📜 TYPO3 extension allowing developpers and integrators to easily set up and manage forms.
http://typo3-formz.com/
GNU General Public License v3.0
10 stars 5 forks source link

Bug with the construction of the JavaScript files list in some cases #28

Closed romm closed 7 years ago

romm commented 7 years ago

When the file containing the whole JavaScript code of a form exists, but the cache entry containing the list of JavaScript files to import for this form is missing, the list is built from scratch then stored in cache.

The problem is that during the construction of the list, the conditions are missed because they are fetched from cache, leading in a complete forgetting of the JavaScript files for these conditions. The list stored in cache is then wrong, leading in JavaScript errors in frontend.

The problem starts in: FormAssetHandler:244.