something is damaging the bug description in bug 936502

Bug #964862 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bug-repo-syncer
Fix Released
High
Eike

Bug Description

It seems to be inserting [@[@BUGLINK "bug #123"@trac @]@] into the description. Please stop it doing that.

The regular expression for identifying bug-links (pattern "bug #123") is too
general. It matches the following text:

{{{
bug

#Un-commenting
}}}

in

{{{
lp_bug = lp_task.bug

#Un-commenting this makes the error go away.
}}}

The damaged text is in:
bug #964900

'''Done:'''

The regular expression has become more strict: The bug ID can now start with an
alphanumerical character, but all subsequent characters must be numbers, for
example: "a001". (I want one letter in the bug IDs for the test suite.)

The regular expression has become more strict while implementing bug #958416
It must be preceded by one of the characters " (", followed by one of " ).,;",
and there must be exactly one space character between "bug" and "#".

Implemented: bug #958416 (Allow Escaping of Bug-Links)

Revision history for this message
Eike (eike-welk) wrote :

Bug Repo Syncer seems to be fairly dangerous in Launchpad's bug tracker, where a bug can belong to several projects.

Changed in bug-repo-syncer:
importance: Undecided → High
milestone: none → 0.3.0
Eike (eike-welk)
Changed in bug-repo-syncer:
status: New → Confirmed
Eike (eike-welk)
description: updated
Eike (eike-welk)
description: updated
Eike (eike-welk)
description: updated
Eike (eike-welk)
description: updated
Eike (eike-welk)
description: updated
description: updated
Eike (eike-welk)
description: updated
Eike (eike-welk)
Changed in bug-repo-syncer:
assignee: nobody → Eike (eike-welk)
Eike (eike-welk)
description: updated
Changed in bug-repo-syncer:
status: Confirmed → Fix Released
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.