Ticket #56 (bug)
Opened 3 years ago
Last modified 2 years ago
2 plugin blocks with the same class (Mailman plugin with 2 entries)
Status: closed (fixed)
| Reported by: | miyagawa | Assigned to: | miyagawa |
|---|---|---|---|
| Priority: | major | Milestone: | Release 0.6 |
| Component: | Plagger | Version: | HEAD |
| Keywords: | Cc: | ||
When you have 2 Mailman module installed with different URIs, feed URL object looks like mixed.
Change History
02/23/06 12:32:32: Modified by miyagawa
03/04/06 11:12:55: Modified by miyagawa
- summary changed from Mailman plugin with 2 entries to 2 plugin blocks with the same class (Mailman plugin with 2 entries).
03/08/06 10:50:02: Modified by anonymous
- milestone set to Release 0.6.
03/31/06 21:50:38: Modified by miyagawa
- status changed from new to closed.
- resolution set to fixed.
(In [430]) Reorganized CustomFeed? API:
- Added RSS/Atom auto-discovery in Aggregator::Simple. Fixes #20
- Fixes CustomFeed? bugs with multiple instances. Fixes #56
- Fixes Aggregator::Simple bug it ignores title in Config. Fixes #110.
- Automatically loads Aggregator::Simple where no Aggregator is installed. Refs #125
- Warns if no aggregator corresponds with the feed. Fixes #125
- Added $context->is_loaded($plugin). Fixes #132

This bug is related to Plagger's plugin register mechanism.
When you have two different Mailman modules installed, aggeregagator.aggregate.mailman is registered twice. That makes aggregating the same URL twice, with different $feed.
So, calling 'subscription.load' twice is okay, but caling 'aggregator.aggregate.mailman' twice is no-good. bleh.
Solutions might be: