It should be possible to specific custom URL validation per bug tracker types for BugTracker creation

Bug #370348 reported by Graham Binns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

When someone manually creates a new BugTracker they can specify any URL they want as long as it's a valid URL. It doesn't have to have any connection to the actual bug tracker type that they've specified.

This makes errors in checkwatches runs quite common because checkwatches expects the base URLs of bug trackers to be correctly formatted for a given BugTrackerType. If they aren't checkwatches OOPSes and BugWatches go un-updated.

We should add a means by which we can validate the URL entered for a given BugTrackerType. That way we can tell the user if the URL they've entered makes no sense for a given type of bug tracker and save ourselves some trouble with correcting nonsensical URLs.

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.