Check to see if data exists for each source, or provide option to disable a data source

Bug #508723 reported by Keith Hughitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Helioviewer.org
Fix Released
Medium
Keith Hughitt

Bug Description

When returning a list of data-sources, Helioviewer.org uses the entries in the datasource table. It is possible, however,
that an entry may exist in the datasource table even when no actual data from that source is in the archive. Thus a method should be provided to ignore data-sources for which no data is available. This can occur either automatically during the getDataSources call (e.g. for each data-source, select count(*) where sourceId = n), or by adding an "enabled" column to the datasource table which could be used to toggle sources on or off.

Changed in helioviewer.org:
status: New → Confirmed
Changed in helioviewer.org:
assignee: nobody → Keith Hughitt (keith-hughitt)
milestone: none → 2.0.4
Revision history for this message
Keith Hughitt (keith-hughitt) wrote :

Added check each time getDataSources is called which eliminates entries for which no data exists. Future versions may be improved by enabling/disabling sources to be disabled at the database or configuration file level.

Changed in helioviewer.org:
status: Confirmed → Fix Committed
milestone: 2.0.4 → 2.0.3
Changed in helioviewer.org:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.