On 19.04.2010 18:58, Matteo Pelucco wrote:

Hi all,
I think I've found a bug, present in Magnolia 4.1.
When we enables i18n, all links of a page accessed with a selector in
URL are "null".

e.g: URL like "/magnoliaAuthor/test.html" are OK
e.g: URL like "/magnoliaAuthor/test.123.html" are KO

The problem lies in these lines of code:

*** *** ***
ETK 1.1.2
ETKI18nContentSupport.java
*** *** ***

*** *** ***
@Override
protected String toI18NURI(String uri, Locale locale) {

String handle = URI2RepositoryManager.getInstance().getHandle(MgnlContext.getAggregationState().getCurrentURI());
...
try {
content = MgnlContext.getSystemContext().getHierarchyManager(repo).getContent(handle);
} catch (RepositoryException e) {
  // ignore
  return null;
}
*** *** ***

String handle is = test.123, is it correct? It generates an exception
in the try/catch construct: RepositoryException javax.jcr.PathNotFoundException: test.123


Is it a known bug?
Matteo



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to