Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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

Merged
fabpot merged 1 commit intosymfony:2.7fromxabbuh:default-assets-version-strategy
Jan 30, 2016

Conversation

@xabbuh
Copy link
Member

QA
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PR

Settingnull as the version of a package means that it uses the empty
version strategy. However, omitting theversion option entirely was
meant to fall back to the default version strategy. This is not possible
when the default version value isnull as there is no way to remove
it.

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
Copy link
MemberAuthor

This will make tests of the FrameworkBundle pass again.

@ewgRa Can you have a look here as you initially added the default value in#17514 and I want to make sure not to break anything here which you intended to fix?

@xabbuh
Copy link
MemberAuthor

There are more broken tests in the FrameworkBundle which are not related to the Asset component. :(

@xabbuhxabbuh mentioned this pull requestJan 30, 2016
@fabpot
Copy link
Member

Thank you@xabbuh.

@fabpotfabpot merged commit25f735f intosymfony:2.7Jan 30, 2016
fabpot added a commit that referenced this pull requestJan 30, 2016
…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
@xabbuhxabbuh deleted the default-assets-version-strategy branchJanuary 30, 2016 16:48
@fabpotfabpot mentioned this pull requestFeb 3, 2016
@ewgRa
Copy link
Contributor

@xabbuh sorry for late reply, I miss this issue

My original commit was related tohttps://github.com/symfony/symfony/pull/16511/files#r50645726.
When I work on PR I miss defaultNull and in next fix-PR restore it.

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
Copy link
MemberAuthor

@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.

This was referencedFeb 28, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@xabbuh@fabpot@ewgRa@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp