Skip to content

Added workaround for JSRoutingBundle mkdir issue#45

Merged
micszo merged 1 commit intomainfrom
js-routing-fix
Mar 22, 2022
Merged

Added workaround for JSRoutingBundle mkdir issue#45
micszo merged 1 commit intomainfrom
js-routing-fix

Conversation

@mnocon
Copy link
Copy Markdown
Contributor

@mnocon mnocon commented Mar 22, 2022

Example failure:

request.CRITICAL: Uncaught PHP Exception ErrorException: 
"Warning: mkdir(): File exists" at /var/www/vendor/friendsofsymfony/jsrouting-bundle/Extractor/ExposedRoutesExtractor.php line 179 
{"exception":"[object] (ErrorException(code: 0): 
Warning: mkdir(): File exists at /var/www/vendor/friendsofsymfony/jsrouting-bundle/Extractor/ExposedRoutesExtractor.php:179)"} []

The issue should be solved in the upstream package (see: FriendsOfSymfony/FOSJsRoutingBundle#434) but we won't be able to use that - the 3.x version is released only for PHP 8, we are using version 2.8.0 and need to use the workaround until we can upgrade.

Tested in ibexa/experience#26

@mnocon mnocon marked this pull request as ready for review March 22, 2022 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants