bad remote bug URL cause OOPSes in Mantis.initializeRemoteBugDB()

Bug #570263 reported by Abel Deuring
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

The remote bug URL (https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4163]) specified here:
https://bugs.edge.launchpad.net/bugs/278648/+watch/65624 contains a typo (the trailing ']') and leads to an OOPS in Mantis.initializeRemoteBugDB(), thus preventing the update of other bug watches from this tracker.

We should simply label such a bug watch as "invaild".

Since we rely on user input for bug watch URLs, we should even perhaps "expect" such mistakes and try to access the remote bug when a bug watch is created or changed. This would also allow us to show the user a confirmation page like "This is the remote bug: title: .... Severity: ...., Status: ..... Is this the remote bug you want to link? (yes/no)"

Tags: lp-bugs
Curtis Hovey (sinzui)
Changed in launchpad:
importance: Undecided → Low
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.