Issue: References to issues in comments translate to hyperlink EVEN if part of a URL already.

Copyright Witness Network Support <[email protected]> Thu, 30 Oct 2008 12:41:58 +0000
Newsgroups gmane.comp.java.scarab.devel
Organization Copyright Witness
Message-ID <[email protected]>
Hi folks,

As I still am having problems getting my issues onto the issue tracker
here is another which has appeared yesterday.

Issue ID 	*TPSW67 (Defect)*
	Created by 	Barry Pearce <mailto:[email protected]> -
30-Oct-2008 12:38:52 GMT 	Last modified by 	Barry Pearce
<mailto:[email protected]> - 30-Oct-2008 12:39:42 GMT


        Basic Info

Component/Product 	Scarab
Component/Product Version 	Subversion trunk 10627
Summary 	References to issues in comments translate to hyperlink EVEN if
part of a URL already.


        Situation

Description 	

By entering a URL in a comment the UI will generate the appropriate hyperlink for the browser.
When a URL is entered that contains a reference to a Scarab Issue inside the URL, the URL itself is processed into a hyperlink and embedded into this is another hyperlink.

This has been discovered during SVN integration where comments added from commits include a link to our repository browser. However, as each issue has its own branch you end up with a URL that looks like:

http://server/svn/repo/branches/<IssueID>?Insurrection=log&r1=<revision>
 <http://server/svn/repo/branches/%3CIssueID%3E?Insurrection=log&r1=%3Crevision%3E>

The hyperlink for the repo browser is corrupted by the processing.

The issue ID should ONLY be turned into a hyperlink if the text is NOT part of another hyperlink/URL

Status 	Assigned
On Hold 	YES
Severity 	7 - Major
Occurance Likelihood 	7 - Frequently
Priority 	High
Further Info Required? 	Yes - from third party
Platform 	PC
Processor 	AMD Athlon XP2600+
OperatingSystem 	Ubuntu Server
Operating System Version 	Hardy Heron 8.04.1
Runtime Environment 	

JBoss AS 4.2.3GA, MySQL 5.0.51a

Java Version 	J2SE 6.0



-- 
Sincerely Yours

Copyright Witness Net Support
[email protected]

www.copyrightwitness.com
Registration centre for copyright works.

This e-mail and any attachments are confidential and intended for the addressee only.
The information in this mail does not amount to legal advice or opinion. Any views or legal references are those of the author and are based on personal opinion or understanding only.