Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-6370

null prefix on URI with ResourceURIResolver when no siteName

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0 alpha
    • 4.0 alpha
    • None
    • None

      Using the ResourceURIResolver._resolve method, I try to resolve the uri of a resource located at : "/ametys:root/ametys:resources/......"
      The ResourceURIResolver from the plugin web returns the following uri : "/null/_resources/......"
      The expected uri should be : "/_resources/......"
      This happens because the following line is executed when siteName is null :
      result.append(_prefixHandler.getUriPrefix(siteName));

            trizzi Thibaut Rizzi (Inactive)
            glefebvre Grégory Lefebvre (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: