#3406929 StorageComparer is not properly re-inject when the container is rebuilt
2 open threads
2 open threads
Closes #3406929
Merge request reports
Activity
- Resolved by Alex Pott
added 2 commits
added 25 commits
-
628842c4...31a6cdf3 - 24 commits from branch
project:11.x
- 22b09a58 - Merge branch '11.x' into 3406929-write-mode
-
628842c4...31a6cdf3 - 24 commits from branch
added 75 commits
-
22b09a58...a060dbd0 - 67 commits from branch
project:11.x
- 8aa45ea6 - Another way
- e9458d26 - Weird
- 41dc5420 - Reinject the StorageComparer too
- 099cd130 - Add a test
- dcbabad1 - Move function to interface
- f0de6443 - Fix typos and wrapping in comments
- 0365305d - Add return type hint
- 3dfe0aeb - Fix accidental incorrect format
Toggle commit list-
22b09a58...a060dbd0 - 67 commits from branch
1013 1013 $this->assertSame($collections, $event_collections); 1014 1014 } 1015 1015 1016 /** 1017 * Tests the target storage caching during configuration import. 1017 * Tests the target storage caching during configuration import. 1018 */ 1019 public function testStorageComparerTargetStorage(): void { 1020 $this->installConfig(['config_events_test']); 1021 $this->copyConfig($this->container->get('config.storage'), $this->container->get('config.storage.sync')); 1022 $this->assertTrue($this->container->get('module_installer')->uninstall(['config_test'])); 1023 \Drupal::state()->set('config_events_test.all_events', []); 1024 \Drupal::state()->set('config_test_install.foo_value', 'transient'); 1025 1026 // Prime the active config cache. If the ConfigImporter and StorageComparer 1027 // do not manager the target storage correctly this cache can pollute the 1028 // data. 1029 \Drupal::configFactory()->get('config_test.system'); 1030 1031 // Import the configuration. This results in a save event with the value 1032 // changing from foo to bar. added 4 commits
-
3dfe0aeb...ec721fba - 2 commits from branch
project:11.x
- d174c259 - Merge branch '11.x' into 3406929-write-mode
- 14a812b6 - Use a config importer with the correct services
-
3dfe0aeb...ec721fba - 2 commits from branch
Please register or sign in to reply