[ 
http://jira.xwiki.org/jira/browse/XWIKI-2056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergiu Dumitriu closed XWIKI-2056.
----------------------------------

    Fix Version/s: 1.3 M2
       Resolution: Fixed
         Assignee: Sergiu Dumitriu

Fixed in rev. 7415

We can now move web.xml in the generated configuration resources, and put 
instead of xwiki the product name in <display-name>.

> The URL Factory should use the contextPath instead of the contextName
> ---------------------------------------------------------------------
>
>                 Key: XWIKI-2056
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-2056
>             Project: XWiki Core
>          Issue Type: Bug
>          Components: Actions and URLs, Core
>    Affects Versions: 1.3 M1
>            Reporter: Sergiu Dumitriu
>         Assigned To: Sergiu Dumitriu
>             Fix For: 1.3 M2
>
>
> In web.XWikiServletURLFactory#init, the first path of the URL (wrongly name 
> servletPath) is initialized with ServletContext().getServletContextName(), 
> which should be used for the application name displayed in a container 
> management application, and not as part of the URL. The proper value is 
> request.getContextPath(), which is automatically set to reflect the 
> application location.
> This will allow:
> - Easy changing the application directory and context name; right now, the 
> displayName property in web.xml must be changed, too
> - Use a proper display name to reflect the application contents (XWiki 
> Enterprise, XWiki Watch, Chronopolys, etc)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to