Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
All Zend Framework feed plugins are configured with shareByDefault
off if using the Zend Service manager. In order to work properly in the Symfony service container, they should be registered in *.services.yml as prototype scope, which is the equivalent setting.
This causes problems like #2348339: Aggregator parses only the first element of an atom feed.
Beta phase evaluation
Issue category | Bug because some services are registered incorrectly and won't work as expected. |
---|---|
Issue priority | Normal because only the aggregator is affected in practice as far as we know. |
Prioritized changes | The main goal of this issue is fixing a service registration bug. |
Comment | File | Size | Author |
---|---|---|---|
#17 | zend_feed_plugins_are-2151103-17.patch | 5.3 KB | twistor |
#17 | zend_feed_plugins_are-2151103-17-should-fail.patch | 2.38 KB | twistor |
#17 | interdiff.txt | 1.03 KB | twistor |
#10 | zend_feed_plugins_are-2151103-10.patch | 5.37 KB | kerby70 |
#4 | drupal-prototype_scope_zend_feed-2151103-4.patch | 5.38 KB | ParisLiakos |
Comments
Comment #1
ParisLiakos CreditAttribution: ParisLiakos commented@twistor should take credit for this as well
Comment #4
ParisLiakos CreditAttribution: ParisLiakos commentedreroll
Comment #5
ParisLiakos CreditAttribution: ParisLiakos commentedComment #6
jhedstromComment #7
kerby70 CreditAttribution: kerby70 at Blink Reaction (now part of FFW) commentedReroll attached.
Comment #8
kerby70 CreditAttribution: kerby70 commentedComment #10
kerby70 CreditAttribution: kerby70 at Blink Reaction (now part of FFW) commentedReroll.
Comment #11
kerby70 CreditAttribution: kerby70 commentedComment #12
kerby70 CreditAttribution: kerby70 commentedComment #13
cilefen CreditAttribution: cilefen commentedComment #14
cilefen CreditAttribution: cilefen commented+1 for this issue.
Comment #16
cilefen CreditAttribution: cilefen commentedI am not sure we need this comment. But I could be wrong.
This is the same as #1.
Could the next patch uploader please provide a tests-only patch?
Comment #17
twistor CreditAttribution: twistor as a volunteer commentedComment #19
cilefen CreditAttribution: cilefen commentedThe test proves the service registration problem is real. I am satisfied.
Comment #20
alexpottCommitted ae32aaa and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.
Comment #22
Fabianx CreditAttribution: Fabianx for Drupal Association commentedOh,
scopes are deprecated in 2.8:
- https://github.com/symfony/symfony/blob/2.8/UPGRADE-2.8.md#dependencyinj...
but shared: false does not become available until 2.8.
So we'll need to support a forward compatibility fix for #2497243: Replace Symfony container with a Drupal one, stored in cache in the mean time.