Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[WIP][2.6] Adding model_timezone and view_timezone upgrade notes #13224

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

Closed
wants to merge 1 commit into from

Conversation

weaverryan
Copy link
Member

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets n/a
Tests pass? yes
License MIT

Hi guys!
#12404 introduced an accidental BC break to 2.6. This adds a note about this.

This is WIP because I'd like to add a note about how to actually change your
code to get things back and working. I'm talking on symfony/symfony-docs#4417
about this, because I'm not totally sure myself.

Thanks!

But this is still a incomplete imo, because this is a BC break, and I haven't
included any details on how to work around the now-gone options.
@weaverryan
Copy link
Member Author

Bah, and of course, this should be merged into 2.6 - my mistake :)

@weaverryan weaverryan changed the title [WIP] Adding model_timezone and view_timezone upgrade notes [WIP][2.6] Adding model_timezone and view_timezone upgrade notes Jan 3, 2015
@fabpot
Copy link
Member

fabpot commented Jan 3, 2015

I've not investigated this issue, but last time I had a look, I had the feeling that reverting this change was the best thing to do.

@weaverryan
Copy link
Member Author

@fabpot that makes sense to me - it probably should have been deprecated for 3.0 removal. The original issue (#7187) was basically that these options are "useless" (or perhaps just don't quite work as expected), so as far as I understand it, there's nothing special (e.g. security) that would have made it necessary to remove these abruptly - I think it was just a mistake :).

We should prepare a PR to revert #12404 (also relates to #12911) and discuss there.

Thanks!

@fabpot
Copy link
Member

fabpot commented Jan 3, 2015

I would welcome such a PR and that actually would great to have it for 2.6.2.

@xabbuh
Copy link
Member

xabbuh commented Jan 4, 2015

Please have a look at #13241.

@weaverryan
Copy link
Member Author

You're awesome @xabbuh :)

@fabpot
Copy link
Member

fabpot commented Jan 6, 2015

Closing in favor of #13241

@fabpot fabpot closed this Jan 6, 2015
fabpot added a commit that referenced this pull request Jan 7, 2015
…ns (xabbuh)

This PR was merged into the 2.6 branch.

Discussion
----------

[Form] add back model_timezone and view_timezone options

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #13224
| License       | MIT
| Doc PR        | TODO (deprecate the `model_timezone` and `view_timezone` options)

This reverts #12404.

Commits
-------

1c4a75a add back model_timezone and view_timezone options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants