Bug 794376 (JBEPP-1421)

Summary: Navigation labels are shortened but not looking good in multibyte languages
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Toshiya Kobayashi <tkobayas>
Component: PortalAssignee: Thomas Heute <theute>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.2.0.CR03CC: epp-bugs, mvecera, tkobayas
Target Milestone: ---   
Target Release: 5.2.1.ER02   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-1421
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:15:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
label-shortened.png none

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

Comment 13 Red Hat Bugzilla 2025-02-10 03:15:20 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.