-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
assets:install removing bundle directories #23416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
assets:install
removing bundle directories
Already fixed in #23378 and 3.2.11 was released. |
@1ed I don't think the PR you mentionned fixes the case reported here. @bmadzar the previous behavior was considered as bug, as it would leave broken files around (symlinks pointing to a removed folder for instance). This is why it happened in a patch release. |
Oh, yes. Sorry I didn't read it through carefully. |
@stof Yes, the applications share the same vendor folder as well. We only have a single public directory on the server. |
It's a major bc break for us we just discovered this after upgrading to 3.3 So we run Now, if we run command for We are fixing it in an urgent matter updating all paths inside our database and twig files so we get them in 2 separate folders, but this definitly should be treated as a BC break and warn users about it. PS: we use same vendor/ folder, just 2 kernels and 2 config dirs to answer @stof question. |
This is probably also broken for one of our sites if we decide to migrate. As we also have the same setup as @tristanbes |
See #24216 (comment) |
…rmann) This PR was merged into the 4.1-dev branch. Discussion ---------- added clean option to assets install command | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #24204, #23416 | License | MIT Commits ------- 771f11b added clean option to assets install command
The change introduced in 3.2.10 (#23195) broke our applications.
We have several Symfony applications that share a
web/bundles
dir. Previously they could coexist happily but now runningassets:install
on one deletes the assets from the others. #23378 does not fix the problem, we basically needassets:install
to ignore bundles it doesn't know about.This sort of breaking change should not be introduced in a patch version.
The text was updated successfully, but these errors were encountered: