Bug 794376 (JBEPP-1421) - Navigation labels are shortened but not looking good in multibyte languages
Summary: Navigation labels are shortened but not looking good in multibyte languages
Keywords:
Status: VERIFIED
Alias: JBEPP-1421
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: Portal
Version: 5.2.0.CR03
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.2.1.ER02
Assignee: Thomas Heute
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-30 10:54 UTC by Toshiya Kobayashi
Modified: 2013-04-30 23:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
To fit on the user interface, navigation node names are cut after a certain number of characters. Cutting happened after measuring the length of the encoded string. Some encoded characters were cut in the middle, resulting in incorrect characters on the screen. The string is now measured and cut before the encoding takes place. Navigation nodes are now properly shortened.
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
label-shortened.png (393.12 KB, image/png)
2011-11-30 10:55 UTC, Toshiya Kobayashi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker GTNPORTAL-2355 0 Major Resolved Navigation labels are shortened but not looking good in multibyte languages 2018-04-12 12:26:14 UTC
Red Hat Issue Tracker JBEPP-1421 0 Major Closed Navigation labels are shortened but not looking good in multibyte languages 2018-04-12 12:26:14 UTC

Description Toshiya Kobayashi 2011-11-30 10:54:55 UTC
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A00000091CEcIAM&sfdc.override=1
Steps to Reproduce: - http://localhost:8080/portal/
- Change language to Japanese
- See navigation bar and menu bar popup
project_key: JBEPP

Labels are shortened in Navigation bar and Menu bar in multibyte languages. It seems to be intentional but it has tailing ascii char (likely cut in the middle of multibyte). See attached png. ('サイト0...', 'アドミニストレ&...')

Comment 1 Toshiya Kobayashi 2011-11-30 10:55:23 UTC
Attachment: Added: label-shortened.png


Comment 2 Jared MORGAN 2011-12-13 22:33:30 UTC
Release Notes Docs Status: Added: Not Required


Comment 3 Thomas Heute 2012-01-13 14:52:39 UTC
Labels: Added: EPP_5_2_1_Candidate


Comment 4 Toshiya Kobayashi 2012-02-02 07:32:38 UTC
Link: Added: This issue incorporates GTNPORTAL-2344


Comment 5 Toshiya Kobayashi 2012-02-02 08:58:16 UTC
Help Desk Ticket Reference: Added: https://c.na7.visual.force.com/apex/Case_View?id=500A00000091CEcIAM&sfdc.override=1


Comment 6 Toshiya Kobayashi 2012-02-02 08:59:35 UTC
posted a temporal workaround in GTNPORTAL-2344.

Comment 7 Thomas Heute 2012-02-16 09:44:36 UTC
Labels: Removed: EPP_5_2_1_Candidate 


Comment 8 JBoss JIRA Server 2012-02-21 15:27:07 UTC
Thomas Heute <theute> updated the status of jira GTNPORTAL-2355 to Resolved

Comment 9 Jared MORGAN 2012-03-27 04:28:02 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
== HELPDESK ISSUE THAT REQUIRES CCFR ==

CAUSE:

CONSEQUENCE:

FIX:

RESULT:

Comment 10 Thomas Heute 2012-04-05 09:06:34 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,9 +1,9 @@
 == HELPDESK ISSUE THAT REQUIRES CCFR ==
 
-CAUSE:
+CAUSE: To fit on the user interface navigation node names are cut after a certain number of characters. Navigation names are encoded and the cut happened after measuring the length of the encoded string.
 
-CONSEQUENCE:
+CONSEQUENCE: Some encoded characters where cut in the middle resulting in wrong characters on the screen
 
-FIX:
+FIX: The string is now measured and cut before the encoding takes place
 
-RESULT:+RESULT: Navigation nodes are now properly shortened

Comment 11 Michal Vanco 2012-04-10 17:30:34 UTC
Fixed by revisions 8443 + 8545.
GTNPORTAL-2344 is still at Unresolved status, JBEPP-1421 is already resolved.

Comment 12 Jared MORGAN 2012-04-11 03:09:44 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,9 +1 @@
-== HELPDESK ISSUE THAT REQUIRES CCFR ==
+To fit on the user interface, navigation node names are cut after a certain number of characters. Cutting happened after measuring the length of the encoded string. Some encoded characters were cut in the middle, resulting in incorrect characters on the screen. The string is now measured and cut before the encoding takes place. Navigation nodes are now properly shortened.-
-CAUSE: To fit on the user interface navigation node names are cut after a certain number of characters. Navigation names are encoded and the cut happened after measuring the length of the encoded string.
-
-CONSEQUENCE: Some encoded characters where cut in the middle resulting in wrong characters on the screen
-
-FIX: The string is now measured and cut before the encoding takes place
-
-RESULT: Navigation nodes are now properly shortened


Note You need to log in before you can comment on or make changes to this bug.