Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[FrameworkBundle] remove default null value for asset version#17605
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Setting `null` as the version of a package means that it uses the emptyversion strategy. However, omitting the `version` option entirely wasmeant to fall back to the default version strategy. This is not possiblewhen the default version value is `null` as there is no way to removeit.
xabbuh commentedJan 30, 2016
xabbuh commentedJan 30, 2016
There are more broken tests in the FrameworkBundle which are not related to the Asset component. :( |
fabpot commentedJan 30, 2016
Thank you@xabbuh. |
…ion (xabbuh)This PR was merged into the 2.7 branch.Discussion----------[FrameworkBundle] remove default null value for asset version| Q | A| ------------- | ---| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets || License | MIT| Doc PR |Setting `null` as the version of a package means that it uses the emptyversion strategy. However, omitting the `version` option entirely wasmeant to fall back to the default version strategy. This is not possiblewhen the default version value is `null` as there is no way to removeit.Commits-------25f735f remove default null value for asset version
ewgRa commentedFeb 12, 2016
@xabbuh sorry for late reply, I miss this issue My original commit was related tohttps://github.com/symfony/symfony/pull/16511/files#r50645726. Seems if tests working and "fall back to the default version strategy" is covered, than your fix right, but on first look seems it is broke BC. |
xabbuh commentedFeb 12, 2016
@ewgRa I'll happily look if we need to fix anything if you happen to find a configuration that used to work before and now doesn't work anymore. |
Setting
nullas the version of a package means that it uses the emptyversion strategy. However, omitting the
versionoption entirely wasmeant to fall back to the default version strategy. This is not possible
when the default version value is
nullas there is no way to removeit.