SourceForge.getRemoteProduct() should return a string, not a tuple

Bug #330943 reported by Graham Binns
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Graham Binns

Bug Description

At the moment SouceForget.getRemoteProduct() returns a tuple of of (group_id, atid). Similarly, BugTracker.getBugFilingandSearchLinks() expects a tuple for SourceForge bug trackers.

The problem is that we store remote_products as strings in the DB. Having to care about converting from tuples to strings and back again is a PITA, so for the sake of simplicity we should store 'group_id&atid' for SourceForge. Only getRemoteProduct() (which returns this in the first place) and getBugFilingAndSearchLinks() (which needs to parse it) need to care about this.

Graham Binns (gmb)
Changed in malone:
assignee: nobody → gmb
importance: Undecided → High
milestone: none → 2.2.2
status: New → In Progress
Revision history for this message
Graham Binns (gmb) wrote :

Landed in r7796.

Changed in malone:
status: In Progress → Fix Committed
Graham Binns (gmb)
Changed in malone:
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.