jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 1.x Changelog Plugin
  • Maven 1.x Changelog Plugin
  • MPCHANGELOG-46

ViewCVS URL bug

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.7.1
  • Fix Version/s: 1.7.2
  • Labels:
    None
  • Number of attachments :
    0

Description

Changelog plugin produces invalid URLs when used with ViewCVS. According to MPCHANGELOG-10 this has already been fixed, but still this didn't work for me.

I tried both http://host/cgi-bin/viewcvs.cgi/?root=repo and http://host/cgi-bin/viewcvs.cgi/?cvsroot=repo, but in both cases the repository path was just appended right after the URL, instead of being inserted just before query parameters, resulting invalid URL.

Fortunately the fix is simple. In changelog.jsl the line:

<j:when test="$

{!empty(repositoryUrl)}

and $

{repositoryUrl.indexOf('?')>0}

">

needs to be changed to:

<j:when test="$

{!empty(repositoryUrl) and repositoryUrl.indexOf('?')>0}

">

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
dion gillard added a comment - 01/Oct/04 4:14 AM

Applied

Show
dion gillard added a comment - 01/Oct/04 4:14 AM Applied

People

  • Assignee:
    dion gillard
    Reporter:
    Juha Komulainen
Vote (0)
Watch (0)

Dates

  • Created:
    30/Sep/04 6:13 AM
    Updated:
    01/Oct/04 4:14 AM
    Resolved:
    01/Oct/04 4:14 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.