Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-5257

A template is shown instead of a proper message when trying to plan an issue on a project without any action plan

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.4
    • Fix Version/s: 4.4
    • Component/s: Issues, Web
    • Labels:
      None
    • Environment:
      Not sure that this affects 4.3, it was spotted on Dory on 4.4-M1.

      Description

      When clicking the "Plan" action on an issue belonging to a project which does not have any action plan associated, the following message is shown:

      <% if is_admin? %> You must <a href="{0}">define</a> at least one action plan on this project. <% else %> At least one action plan must be created on this project. Please contact your project administrator. <% end %>
      

      Obviously, this code was meant to be executed, but it wasn't.

      See the screenshot for details.

        Attachments

          Activity

            People

            Assignee:
            stas.vilchik Stas Vilchik (Inactive)
            Reporter:
            dinesh.bolkensteyn Dinesh Bolkensteyn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: