Trim white space from code import URLs

Bug #488742 reported by Muharem Hrnjadovic
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Both xmms2 import branch URLs [1] contain leading spaces. This probably lead to an "Unsupported protocol for url" error message [2,3]. Can you please remove the space and maybe let the importer trim spaces?

[1] https://code.launchpad.net/xmms2
[2] http://launchpadlibrarian.net/35871661/xmms2-trunk-log.txt
[3] http://launchpadlibrarian.net/35871664/xmms2-stable-log.txt

Tags: lp-code
Revision history for this message
Jonathan Lange (jml) wrote :

This is not quite a duplicate of bug 44197. Bug 44197 caused this bug.

This bug should be fixed by fixing bug 44197 and then running a once-off query to strip whitespace from existing code import URLs.

Revision history for this message
Tim Penhey (thumper) wrote : Re: [Bug 488742] [NEW] Trim white space from code import URLs

On Fri, 27 Nov 2009 02:00:11 Muharem Hrnjadovic wrote:
> Public bug reported:
>
> Both xmms2 import branch URLs [1] contain leading spaces. This probably
> lead to an "Unsupported protocol for url" error message [2,3]. Can you
> please remove the space and maybe let the importer trim spaces?
>
> [1] https://code.launchpad.net/xmms2
> [2] http://launchpadlibrarian.net/35871661/xmms2-trunk-log.txt
> [3] http://launchpadlibrarian.net/35871664/xmms2-stable-log.txt

Actually this has to do with the way that the forms are assigning the values
into the content classes. It is currently by-passing the form field validators
which is a bad thing.

This will require several days of refactoring the code import guts.

Tim Penhey (thumper)
Changed in launchpad-code:
status: New → In Progress
status: In Progress → Triaged
importance: Undecided → Medium
Curtis Hovey (sinzui)
Changed in launchpad:
importance: Medium → Low
Jelmer Vernooij (jelmer)
tags: added: easy
tags: removed: easy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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