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

Incorrect example of locale and ts parameters for WS api/l10n/index

    XMLWordPrintable

    Details

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

      Description

      The examples provided for locale and ts parameters are not supported by the WS.

      • for locale:
        the parameter supports BCP47 primary language subtag, but not the region subtag with a dash.
        => "fr" or "fr_CH" instead of "fr-CH"
      • for ts:
        the parameter does not support "Z" but "UTC" or "+0000" as a timezone format.
        => "2014-06-04T09:31:42+0000" instead of 2014-06-04T09:31:42Z
        ("+" needs to be escaped by %2B in the request).

      Please confirm the formats and correct the examples.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stas.vilchik Stas Vilchik (Inactive)
              Reporter:
              christophe.levis Christophe Levis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: