This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 118833 - I18N - part of uml report not shown using firefox in some cases
Summary: I18N - part of uml report not shown using firefox in some cases
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Reporting (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Yang Su
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-10-14 19:56 UTC by Ken Frank
Modified: 2008-08-04 22:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (104.08 KB, image/gif)
2007-10-14 19:59 UTC, Ken Frank
Details
image (136.93 KB, image/gif)
2007-10-14 20:00 UTC, Ken Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2007-10-14 19:56:15 UTC
this might be related to some previous limitations of uml report on solaris with mozilla,
but since now for nb6 is the new project and file encoding properties and functionality,
am filing here since it might be related to that.

a similar issue has been seen in java projects related to finding javadoc, see 118435.

solaris, ja locale
uml java platform model project (not rev engineer project though it happens in that case also)

since uml has not impelemented a project encoding property, the current global project encoding
property of euc-jp am guessing is not a problem (118435 happens when project encoding is utf8
or euc-jp (euc-jp is encoding of solaris ja locale)

1. create uml java platform model project.
2. have the project and its path have multibyte in their names
3. choose class diagram
4. drop a class on it and give name with multibyte, also an attribute with name that has mbyte.
5. save
6. generate report.

7. initial firefox window shows ok, see first gif

7. click on the name of the class, under All Elements section, and there is error window
that says it can't find the html page - see second gif.

8. changing the browser encoding does not help - its at japanese euc when invoked.

This does not happen using IE on windows but does happen on firefox using windows.


Also, but not related, if IE is open, uml report does not open a new tab or a new window
(depending on how tab options are set up) BUT this is not uml issue I think since happens
using javadoc also and am guessing its my setup ? an issue on this was filed under javadoc.
Comment 1 Ken Frank 2007-10-14 19:59:58 UTC
Created attachment 50916 [details]
image
Comment 2 Ken Frank 2007-10-14 20:00:30 UTC
Created attachment 50917 [details]
image
Comment 3 Yang Su 2007-10-31 00:40:35 UTC
This issue occurs with firefox, on both Solaris and Windows.

IE and Firefox treat multibyte file URI differently. Firefox seems to use specified page encoding and href to construct
file uri for the hyperlink.

Using UTF-8 to encode report works for both IE and Firefox. The fix for the described scenario has been tested on
Windows Vista. 
Comment 4 Ken Frank 2007-11-04 17:13:41 UTC
reopening, does not work on solaris, which is where this was originally seen.

I dont think project encoding prop is an issue here since this is java model
and not associated with any project.

the browser encoding is now set to utf-8 but its still same problem
as firefox states it cant find the path to the file, as in original problem.

ken.frank@sun.com
Comment 5 Ken Frank 2007-11-05 17:49:50 UTC
using later .08 version of firefox vs 03 used before, problem is the same.
Comment 6 George Vasick 2007-11-07 15:34:37 UTC
Development testing indicates the problems is fixed for firefox on windows, both XP and Vista.  There is still a problem
on Solaris which we believe is a browser problem rather than a problem in the generated report.  We will provide a FAQ
for that.
Comment 7 Ken Frank 2008-01-24 02:59:28 UTC
since problem is still on solaris using firefox, should this have been resolved since
that is where also issue was seen ? or is it that its firefox problem outside of uml
and thus can't be fixed so its needs to be resolved in that context ?

also, has the faq mentioned been provided for this ?

if above is true, it can be verified.

ken.frank@sun.com
Comment 8 Ken Frank 2008-03-06 20:22:33 UTC
please answer questions in last comment before this one and then
can verify this.

ken.frank@sun.com
Comment 9 Ken Frank 2008-07-31 03:44:41 UTC
I'd like to verify this; to summarize, the fix was for windows
but not for unix per se since problems in firefox on unix are the actual cause ?
we can make a faq entry about this.

Comment 10 Yang Su 2008-08-04 21:36:18 UTC
Tested recent trunk build 20080804 on Solaris with Firefox 2.0.0.17pre, the issue is gone. 
Comment 11 Ken Frank 2008-08-04 22:23:51 UTC
based on Sheryl's additional comments, am placing in verified state - it was tested with the 20080804 build on Solaris
with Firefox 2.0.0.17pre under locale zh and zh_CN UTF8, the issue is no longer reproducible on Firefox

ken.frank@sun.com