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

org.sonar.api.platform.Server#getUrl() must never return null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6
    • Component/s: Plugin API
    • Labels:

      Description

      See https://groups.google.com/forum/#!msg/sonarqube/eiKBAtFNCPM/wjrxqdb0BQAJ

      Calling Server#getUrl() from a server extension (web server or compute engine) currently returns always null, whereas it should returned the effective server URL. This URL is computed by using the optional properties sonar.core.serverBaseURL, sonar.web.port and sonar.web.context. See SONAR-7109 for more details.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              simon.brandhof Simon Brandhof (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: