Skip to content

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Nov 16, 2020

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

cc @bastnic

This bug was reported on Symfony Slack: $this->globBrace is set to null after unserialization from the .meta file.

Instead of serializing this property, I decided to reinitialize the property after unserialization. I think that's a safer option (e.g. it works when the cache is build on a different server with different globBrace support than the one running the application).

@carsonbot carsonbot added this to the 4.4 milestone Nov 16, 2020
@wouterj wouterj changed the title [Config] Recheck glob support after GlobResource was serialized [Config] Recheck glob brace support after GlobResource was serialized Nov 16, 2020
@bastnic
Copy link
Contributor

bastnic commented Nov 16, 2020

Thanks a lot @wouterj 👍

@derrabus
Copy link
Member

Thank you Wouter.

@derrabus derrabus merged commit cf70d3a into symfony:4.4 Nov 16, 2020
@wouterj wouterj deleted the bugfix/config-glob-brace branch November 16, 2020 15:27
@fabpot fabpot mentioned this pull request Nov 21, 2020
This was referenced Nov 29, 2020
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.

6 participants