Steps to replicate

      1. Create a Plan with subversion as the source repository
      2. Under the advanced tab of the repository configuration specify Generic web repository as described here
      3. Specify the viewVC URL to the repository. example http://localhost:49152/viewvc/Development/
      4. The above settings should make it possible for Bamboo to display in the code changes, the link to relevant files that have changed.
      5. This does not work and the code changes tab in the build summary page displays a tooltip "Unable to create URL - please check your Web Repository configuration" in place of the expected links
      6. The following is thrown in the logs
        2012-08-14 16:56:19,380 ERROR [qtp179274584-709] [runtime] Method public java.lang.String com.atlassian.bamboo.webrepository.DefaultWebRepositoryViewer.getWebRepositoryUrlForFile(com.atlassian.bamboo.commit.CommitFile,com.atlassian.bamboo.repository.RepositoryDefinition) threw an exception when invoked on com.atlassian.bamboo.webrepository.DefaultWebRepositoryViewer@69a13712
        
        Method public java.lang.String com.atlassian.bamboo.webrepository.DefaultWebRepositoryViewer.getWebRepositoryUrlForFile(com.atlassian.bamboo.commit.CommitFile,com.atlassian.bamboo.repository.RepositoryDefinition) threw an exception when invoked on com.atlassian.bamboo.webrepository.DefaultWebRepositoryViewer@69a13712
        The problematic instruction:
        ----------
        ==> assignment: fileLink=linkGenerator.getWebRepositoryUrlForFile(file, repositoryData)! [on line 30, column 24 in templates/plugins/webRepository/defaultCommitView.ftl]
         in user-directive ui.bambooInfoDisplay [on line 5, column 5 in templates/plugins/webRepository/defaultCommitView.ftl]
        ----------
        
        Java backtrace for programmers:
        ----------
        freemarker.template.TemplateModelException: Method public java.lang.String com.atlassian.bamboo.webrepository.DefaultWebRepositoryViewer.getWebRepositoryUrlForFile(com.atlassian.bamboo.commit.CommitFile,com.atlassian.bamboo.repository.RepositoryDefinition) threw an exception when invoked on com.atlassian.bamboo.webrepository.DefaultWebRepositoryViewer@69a13712
        	at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:130)
        	at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:104)
        	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
        	at freemarker.core.DefaultToExpression._getAsTemplateModel(DefaultToExpression.java:100)
        	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
        	at freemarker.core.Assignment.accept(Assignment.java:90)
        	at freemarker.core.Environment.visit(Environment.java:210)
        	at freemarker.core.MixedContent.accept(MixedContent.java:92)
        	at freemarker.core.Environment.visit(Environment.java:210)
        	at freemarker.core.IfBlock.accept(IfBlock.java:82)
        	at freemarker.core.Environment.visit(Environment.java:210)
        	at freemarker.core.MixedContent.accept(MixedContent.java:92)
        	at freemarker.core.Environment.visit(Environment.java:210)
        	at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
        	at freemarker.core.Environment.visit(Environment.java:417)
        	at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
        	at freemarker.core.Environment.visit(Environment.java:210)
        	at freemarker.core.MixedContent.accept(MixedContent.java:92)
        	at freemarker.core.Environment.visit(Environment.java:210)
        	at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179)
        	at freemarker.core.Environment.visit(Environment.java:417)
        	at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
        	at freemarker.core.Environment.visit(Environment.java:210)
        

            [BAM-12043] Unable to link svn repositories to viewVC

            Michael added a comment -

            Excellent, now linking to the Trac source browser integration works as expected.
            Thanks!

            Michael added a comment - Excellent, now linking to the Trac source browser integration works as expected. Thanks!

            Hi there,

            Bamboo 4.4.5, which contains a fix for this issue, has been released and is now available to download.

            Thanks,
            James Dumay
            Product Manager

            James Dumay added a comment - Hi there, Bamboo 4.4.5, which contains a fix for this issue, has been released and is now available to download . Thanks, James Dumay Product Manager

            Hi Michael,

            We decided to get a few more bug fixes in before we rolled 4.4.5. The 4.4.5 release will probably be the last bug fix release for 4.4.x. There are around 15 bugs fixed in 4.4.5 and we hope it is worth the wait.

            According to our GreenHopper board a developer has started the 4.4.5 release so it should be available on www.atlassian.com soon.

            Sorry for the holdup!

            Thanks
            James

            James Dumay added a comment - Hi Michael, We decided to get a few more bug fixes in before we rolled 4.4.5. The 4.4.5 release will probably be the last bug fix release for 4.4.x. There are around 15 bugs fixed in 4.4.5 and we hope it is worth the wait. According to our GreenHopper board a developer has started the 4.4.5 release so it should be available on www.atlassian.com soon. Sorry for the holdup! Thanks James

            Michael added a comment -

            I guess the 4.4.5 release is delayed... Any predictions when we can expect it?

            Michael added a comment - I guess the 4.4.5 release is delayed... Any predictions when we can expect it?

            Michael added a comment -

            Thanks James. Sounds good!

            Michael added a comment - Thanks James. Sounds good!

            Hi Michael,

            Sometime late this week or early next week by the looks of things.

            Thanks
            James

            James Dumay added a comment - Hi Michael, Sometime late this week or early next week by the looks of things. Thanks James

            Michael added a comment -

            Judging from the status I presume the issue has been fixed and will be incorporated into the 4.4.5 release. Does anybody have information about the release date?

            Michael added a comment - Judging from the status I presume the issue has been fixed and will be incorporated into the 4.4.5 release. Does anybody have information about the release date?

            Thanks Piotr. Sounds good. Regards, Pat

            Pat Pigatti added a comment - Thanks Piotr. Sounds good. Regards, Pat

            PiotrA added a comment -

            Hi,

            We have added this issue with a low priority to the current development iteration of Bamboo. What does it mean:

            • it's possible that by the 8Mar (we have bi-weekly iterations in Bamboo team) some developer will look and fix this issue
            • but it's also possible we won't manage to get to this issue, because we get stuck on other issues and run out of time (that's why I mention about low priority)

            In the latter situation this ticket will be probably rescheduled for another iteration. That's how I see the things - but please mind that I'm a developer here, not product owner.

            In any case - I think the best idea would be to wait those 2 weeks to see if this issue gets fixed.

            Does it make sense what am I talking?

            regards,
            Piotr

            PiotrA added a comment - Hi, We have added this issue with a low priority to the current development iteration of Bamboo. What does it mean: it's possible that by the 8Mar (we have bi-weekly iterations in Bamboo team) some developer will look and fix this issue but it's also possible we won't manage to get to this issue, because we get stuck on other issues and run out of time (that's why I mention about low priority) In the latter situation this ticket will be probably rescheduled for another iteration. That's how I see the things - but please mind that I'm a developer here, not product owner. In any case - I think the best idea would be to wait those 2 weeks to see if this issue gets fixed. Does it make sense what am I talking? regards, Piotr

            Sounds good. Thanks Piotr.

            Pat Pigatti added a comment - Sounds good. Thanks Piotr.

              Unassigned Unassigned
              smaiyaki Sultan Maiyaki (Inactive)
              Affected customers:
              6 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: