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

null prefix on URI with ResourceURIResolver when no siteName

    • 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));

          [CMS-6370] null prefix on URI with ResourceURIResolver when no siteName

          Grégory Lefebvre (Inactive) made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Thibaut Rizzi (Inactive) made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Laurence Aumeunier made changes -
          Link New: This issue Dépend de CMS-6394 [ CMS-6394 ]
          Laurence Aumeunier made changes -
          Assignee Original: Laurence Aumeunier [ laurence ] New: Thibaut Rizzi [ trizzi ]
          Laurence Aumeunier made changes -
          Assignee Original: Nicolas Gavalda [ ngavalda ] New: Laurence Aumeunier [ laurence ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.0 [ 12384 ]
          Laurence Aumeunier made changes -
          Assignee New: Nicolas Gavalda [ ngavalda ]
          Grégory Lefebvre (Inactive) created issue -

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

              Created:
              Updated:
              Resolved: