Bug 370254

Summary: Discover lists commented repositories as enabled
Product: [Applications] Discover Reporter: Jeff Bai <jeffbaichina>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.8.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.8.1
Sentry Crash Report:
Attachments: Discover showing all repositories
sources.list

Description Jeff Bai 2016-10-07 14:57:26 UTC
Discover 5.8.0 lists all repositories listed in the sources.list as enabled (not to mention that I couldn't even disable any of them).

I will attach a screenshot of the issue, my sources.list for your reference.

Reproducible: Always

Steps to Reproduce:
1. Open up Discover
2. Go to the Settings tab

Actual Results:  
All repositories are listed, regardless of if they were enabled or not (seems like Discover would just list all lines in that file with a keyword "deb").

... And I wasn't able to disable any of them.

Expected Results:  
Discover should show only those uncommented in the sources.list.

... And I should be able to enable or disable them (even a PolicyKit prompt will do).
Comment 1 Jeff Bai 2016-10-07 14:57:45 UTC
Created attachment 101471 [details]
Discover showing all repositories
Comment 2 Jeff Bai 2016-10-07 14:58:07 UTC
Created attachment 101472 [details]
sources.list
Comment 3 Aleix Pol 2016-10-07 22:11:10 UTC
It's fixed in the next stable release, excuse the inconvenience.