Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-14428

View latest Clover information

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.4.2
    • Fix Version/s: 5.6.1, 5.7.0
    • Component/s: Clover integration
    • Labels:
      None
    • Last commented by user?:
      true
    • Comments:
      7

      Description

      Clicking on this link returns an error page with the project key not being found.

      Creates ee in logs:

      Expression immutableBuild is undefined on line 7, column 47 in viewCloverSummary.ftl.
      The problematic instruction:
      ----------
      ==> macro header [on line 242, column 1 in freemarker-lib/ui.ftl]
      in user-directive ui.header [on line 7, column 1 in viewCloverSummary.ftl]
      ----------

      Java backtrace for programmers:
      ----------
      freemarker.core.InvalidReferenceException: Expression immutableBuild is undefined on line 7, column 47 in viewCloverSummary.ftl.
      at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
      at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
      at freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
      at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
      at freemarker.core.Environment.visit(Environment.java:557)

      Appears to be a link issue.

      e.g link heads to https://[url]/build/result/viewCloverResult.action?buildKey=SHS-PCC&buildNumber=9

      but should go to full stage name to get resources

      https://[url]/build/result/viewCloverResult.action?buildKey=SHS-PCC-TEST&buildNumber=9

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                6 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  3 years, 28 weeks, 3 days ago