Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-1094 Slim Commons
  3. STANBOL-1189

UriInfo.getPathParameters() returning an empty Map in ContentItemReader

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Parsing the ContentItem URI form the uri=

      {uri}

      parameter was brocken because

      MultivaluedMap<String,String> params = uriInfo.getPathParameters();

      returned an empty map even if the parameter was present in the request URI retrieved from

      URI uri = uriInfo.getRequestUri();

      As a temporary fix a workaround was added with http://svn.apache.org/r1534931. This fix parsed the parameter from the URI.

      This should be replaced with JAX-RS code ASAP.

      Attachments

        Activity

          People

            rwesten Rupert Westenthaler
            rwesten Rupert Westenthaler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: