This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component
Nicolas Grekas 1201085f72 bug #33962 [Cache] fixed TagAwareAdapter returning invalid cache (v-m-i)
This PR was merged into the 3.4 branch.

Discussion
----------

[Cache] fixed TagAwareAdapter returning invalid cache

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #33953
| License       | MIT
| Doc PR        |

This PR fixes `TagAwareAdapter` returning `CacheItem` when item-tags pair is missing tag key in pool. Currently `TagAwareAdapter` returns `CacheItem` with empty tags and `isHit` set to `true`. With this PR it returns `CacheItem` with `isHit` set to `false` as we can't know if item is valid or invalid when it's missing tag entry so we treat it as cache miss.

Commits
-------

946f0a1e11 [Cache] fixed TagAwareAdapter returning invalid cache
2019-10-12 11:36:31 +02:00
..
Asset Remove superfluous phpdoc tags 2019-08-14 13:59:53 +02:00
BrowserKit Remove Google references when not needed 2019-09-10 12:13:59 +02:00
Cache [Cache] fixed TagAwareAdapter returning invalid cache 2019-10-12 11:36:03 +02:00
ClassLoader Fix inconsistent return points. 2019-08-20 15:31:17 +02:00
Config Re-enable previously failing PHP 7.4 test cases 2019-09-19 17:32:51 +02:00
Console Remove useless testCanCheckIfTerminalIsInteractive test case 2019-10-06 21:52:09 +02:00
CssSelector Fix the :only-of-type pseudo class selector 2019-10-01 13:57:37 +02:00
Debug Re-enable previously failing PHP 7.4 test cases 2019-09-19 17:32:51 +02:00
DependencyInjection [DependencyInjection] Fix wrong exception when service is synthetic 2019-09-27 17:47:48 +02:00
DomCrawler minor #33289 [DomCrawler] Fix FileFormField PHPDoc (dunglas) 2019-08-30 19:42:32 +02:00
Dotenv [Dotenv] search variable values in ENV first then env file 2019-10-11 15:36:17 +02:00
EventDispatcher Fix mocks for ImmutableEventDispatcher. 2019-08-23 10:05:57 +02:00
ExpressionLanguage SCA: dropped unused mocks, duplicate import and a function alias usage 2019-08-07 09:23:44 +02:00
Filesystem Fix inconsistent return points. 2019-08-20 15:31:17 +02:00
Finder [Finder] Prevent unintentional file locks in Windows 2019-09-01 23:32:23 +02:00
Form [Form][Validator][Intl] Fix tests 2019-09-27 16:00:26 +02:00
HttpFoundation Add plus character + to legal mime subtype 2019-10-12 10:55:17 +02:00
HttpKernel bumped Symfony version to 3.4.33 2019-10-07 16:51:28 +02:00
Inflector [Inflector] Add .gitignore file 2019-09-17 10:36:34 +02:00
Intl [Intl] Update the ICU data to 65.1 2019-10-04 20:48:33 +02:00
Ldap Various tweaks 3.4 2019-09-24 07:29:29 +02:00
Lock [Lock] use Predis\ClientInterface instead of Predis\Client 2019-09-23 16:31:27 +02:00
OptionsResolver Remove use of ForwardCompatTrait 2019-08-03 23:15:25 +02:00
Process Fix return type of Process::restart(). 2019-09-25 16:09:38 +02:00
PropertyAccess [Form] fix return type declarations 2019-08-26 09:52:58 +02:00
PropertyInfo ensure compatibility with type resolver 0.5 2019-09-18 15:36:31 +02:00
Routing [Routing] fix bad fix 2019-09-24 18:22:08 +02:00
Security Don't let falsey usernames slip through 2019-10-02 10:20:10 -04:00
Serializer bug #32051 [Serializer] Add CsvEncoder tests for PHP 7.4 (ro0NL) 2019-10-01 01:11:46 +02:00
Stopwatch Fix remaining tests 2019-08-06 15:24:37 +02:00
Templating Various tweaks 3.4 2019-09-24 07:29:29 +02:00
Translation bug #32925 [Translation] Collect original locale in case of fallback translation (digilist) 2019-09-27 07:57:25 +02:00
Validator [Validator] sync NO and NB translations 2019-10-09 16:33:48 +02:00
VarDumper [VarDumper] fix resetting the "bold" state in CliDumper 2019-10-10 13:03:19 +02:00
WebLink Remove use of ForwardCompatTrait 2019-08-03 23:15:25 +02:00
Workflow Add gitignore file for Symfony 3.4 2019-09-17 11:52:54 +02:00
Yaml don't dump a scalar tag value on its own line 2019-09-10 12:38:46 +02:00