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

Elastic agent history -> delete causes HTTP 404 error: duplicated bamboo token in returnURL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.3 M10
    • Fix Version/s: 2.3
    • Component/s: Elastic Bamboo
    • Labels:
      None

      Description

      ElasticBamboo -> Agent history -> Delete
      causes HTTP 404 on http://localhost:8085/bamboo/bamboo/admin/elastic/viewElasticAgentHistory.action

      For some unknown reason (viewElasticAgentHistory.ftl)

      [#macro displayOfflineOperations agent]
          <a id="view:${agent.id}" href="${req.contextPath}/admin/agent/viewAgent.action?agentId=${agent.id}">[@ww.text name='global.buttons.view' /]</a>
          | <a id="delete:${agent.id}" href="${req.contextPath}/admin/agent/removeAgent.action?agentId=${agent.id}&returnUrl=${req.contextPath}/admin/elastic/viewElasticAgentHistory.action" class="requireConfirmation" title="[@ww.text name='elastic.history.delete.description' /]">[@ww.text name='elastic.history.delete' /]</a>
      [/#macro]
      

      produces invalid returnUrl

        Attachments

          Activity

            People

            Assignee:
            bteh Belinda Teh [Atlassian]
            Reporter:
            mwent Marek Went (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: