Trim white space from code import URLs

Bug #488742 reported by Muharem Hrnjadovic on 2009-11-26
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
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

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.

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) on 2009-11-26
Changed in launchpad-code:
status: New → In Progress
status: In Progress → Triaged
importance: Undecided → Medium
Curtis Hovey (sinzui) on 2011-10-02
Changed in launchpad:
importance: Medium → Low
Jelmer Vernooij (jelmer) on 2011-10-02
tags: added: easy
tags: removed: easy
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions