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

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1434624 ] New: JAC Bug Workflow v3 [ 3384236 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1408669 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1434624 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 609308 ] New: Bamboo Workflow 2016 v1 [ 1408669 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2014 [ 600928 ] New: Bamboo Workflow 2014 v2 [ 609308 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2010 [ 400780 ] New: Bamboo Workflow 2014 [ 600928 ]
            PiotrA made changes -
            Link New: This issue relates to BAM-13063 [ BAM-13063 ]

            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?

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

                Created:
                Updated:
                Resolved: