|
[
Permlink
| « Hide
]
Andrew Perepelytsya added a comment - 21/Apr/08 11:02 AM
Todd, have you tried with beta 3? This sounds like something which has been fixed already.
I don't remember fixing any issues around this - but I asked Todd to file this so we could be sure to test it before b3 goes out.
Todd, could you please specify a full url you use? Do you just type it in a browser?
I was just clicking on the feed link in the UI, e.g. http://server:8080/api/registry/Default%20Workspace/hello-config.xml?view=history
To further clarify – the UI links seem to assume the root context, so the links (as in my above comment) are incorrect, they don't have the "galaxy" part of the path in the URL.
getServletContextName() is not a reliable source of this info, as the behavior is not consistent across containers (unfortunately). The best way is to get it from request.getContextPath(), but the catch is there's no request object available when the links are generated, thus the need to intercept and store it somewhere.
Reworked the solution to cover more cases reliably in http://fisheye.muleforge.org/changelog/galaxy/?cs=804
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||