[MGNLRSSAGG-3] Adding a new blog to the data module should be observed Created: 02/Oct/08  Updated: 09/Feb/15  Resolved: 19/Feb/09

Status: Closed
Project: Magnolia RSS Aggregator Module
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: New Feature Priority: Major
Reporter: Boris Kraft Assignee: Jan Haderka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
depends upon MGNLOBS-5 Provide path filtering event listener Closed
relation
is related to MGNLDATA-52 Enable data import for each data type... Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

If I have an aggregation entry in the data module, and add a new blog, this does not immediately show up on the web pages. I assume it eventually will, when the scheduler kicks in. However, it would be important that the nodes are observed and a fetch is triggered whenever I change something in the data module. Otherwise it is hard to verify that it works



 Comments   
Comment by Jan Haderka [ 03/Feb/09 ]

I don't know how feasible it is to have data types observed and trigger import handler upon a change. It is definitively not a common use case for a data module. Most of the time you edit content after it has been fetched by importer rather then before. MGNLDATA-52 is exposing the importer directly in the data type command bar. With that you will be able to just click the "import data" button and run importer manually no matter what the automated schedule is. Would that be sufficient solution?

Comment by Boris Kraft [ 04/Feb/09 ]

I think while it might not be common for the data module, it is common for the RSS Aggregator. This is where the observation should be defined, as the RSS Aggregator knows where the subscriptions are defined, and should be able to watch that folder, right?

But of course, a manual reload instead of waiting for the scheduled import is sufficient, as long as it is clear how this is achieved. If the import button is right on the same dialog than the RSS subscriptions, this would make sense.

Comment by Jan Haderka [ 19/Feb/09 ]

Done as of r22729. When observation module is installed, rssaggregator will register event listener and trigger update of feed data upon configuration change automatically.

Generated at Mon Feb 12 07:04:32 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.