tales linkify create broken links

Bug #404131 reported by Curtis Hovey
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Ian Booth

Bug Description

The lp:openssl was linkified by tales.FormattersAPI lpbranchurl rule in this question
    https://answers.edge.launchpad.net/launchpad-code/+question/77912

The link is broken. It goes to the wrong vhost. The link will not work anyway since the project does not have focus of developement set (that is not the linkers) problem

There is a minor complication. The Ubuntu developers use lp:1234 to reference bugs. The URL rule should verify that all numbers are never linked to a branch.

Related branches

Revision history for this message
Jonathan Lange (jml) wrote :

Only one part of this bug is actually a bug, imho: the link should only ever refer to the code vhost.

The URL rule already verifies that all numbers are never linked to a branch (there's a fix released bug about this). Also, if you look at your own bug comment, you'll see that lp:1234 links to the bug report.

There is no way we're going to check for the existence of the development focus. It would cause too many database queries. Note that the current behaviour of bug linking is to create a link to a bug regardless of its existence.

Changed in launchpad-code:
importance: Undecided → Low
status: New → Triaged
tags: added: trivial ui
Revision history for this message
Jonathan Lange (jml) wrote :

Note: trivial only if the bug is "link to the right vhost"

Revision history for this message
Curtis Hovey (sinzui) wrote :

Understood. I agree that fixing the vhost is the only sensible thing to do.

Revision history for this message
Tim Penhey (thumper) wrote :

In the branch traversal code, where the +branch code is getting resolved, if there is no link, we could redirect the user to the product series with a message.

Ian Booth (wallyworld)
Changed in launchpad-code:
assignee: nobody → Ian Booth (wallyworld)
Ian Booth (wallyworld)
Changed in launchpad-code:
status: Triaged → Fix Committed
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in launchpad-code:
milestone: none → 10.10
tags: added: qa-needstesting
Tim Penhey (thumper)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad-code:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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