portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-482) PSML documents whose names contain diacritic characters are not displayed
Date Thu, 09 Apr 2009 17:56:13 GMT

    [ https://issues.apache.org/jira/browse/JS2-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697574#action_12697574
] 

Woonsan Ko commented on JS2-482:
--------------------------------

I fixed the url generation for each page node by doing url-encoding of each path component
with ISO-8859-1 encoding.
I haven't tested with site manager yet because it has been refactored a lot with Wicket.
However, when I add a page with a name containing diacritic character such as ó, it works
fine.
By the way, if I create a page in the page customizer with the same name, the page is actually
created by another styled name.
For example, if I put 'helloó.psml', then the physical file is saved as 'hello_C3_B3.psml'.
In this case, there's no problem with the customizer.
It is a nice feature because it provides more safe page file generation.
Anyway, if a page is manually created with diacritic characters, then it can be served correctly
now by proper url encoding.
By the way, I think that the portal site manager should work as same as the page customizer.

> PSML documents whose names contain diacritic characters are not displayed
> -------------------------------------------------------------------------
>
>                 Key: JS2-482
>                 URL: https://issues.apache.org/jira/browse/JS2-482
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Layout, PSML
>    Affects Versions: 2.0-FINAL
>         Environment: win xp pro sp2, tomcat 5.5.12, postgres
>            Reporter: Jacek Wi?licki
>            Assignee: Woonsan Ko
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> PSML documents whose names contain diacritic characters are not displayed. If a users
creates such a document (e.g. page) with J2 administrative mechanisms or manually as a file
it appears in a portal but is not rendered. I cannot see any error logs about it as if the
resource was not found at all. I guest it has something to do with URL encoding.
> I've noticed the problem on windows, where cp1250 encoding was used. It might not appear
if the OS and Jetspeed encodings are the same.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message