Closed Bug 542464 Opened 16 years ago Closed 16 years ago

Dependency graphs cannot be displayed when bug summaries contain UTF8 characters

Categories

(Bugzilla :: Dependency Views, defect)

3.4.4
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.4

People

(Reporter: werner.moser, Assigned: LpSolit)

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729) Build Identifier: bugzilla 3.4.4 We have upgraded from bugzilla 3.0 to 3.4.4 and now the dependency graph fails if a bug is involved which summary contains a german umlaut ("Show the summaries of all displayed bugs" needs to be activated, obviously). /usr/bin/dot is used: dot - graphviz version 2.24.0 (20090616.2323) this error is logged by the apache: Reproducible: Always Steps to Reproduce: 1. create a bug with a german umlaut in the summary 2. click on "graph" 3. activate "Show the summaries of all displayed bugs" Actual Results: no graph is displayed, error in apache logfile. Expected Results: graph to be displayed. this is the second characterset problem in 3.4.4 with german umlauts that we found (see bug 541776) - are they related? To exclude migration errors: I installed 3.4.4 from scratch, new database: the same error.
Bug 287684 is older, so it's probably not a dupe, but I'd say it's related...
Just tried right now and I got: showdependencygraph.cgi: Wide character in print at /var/www/html/bugzilla/showdependencygraph.cgi line 222. Invalid 3-byte UTF8 found in input. Perhaps "-Gcharset=latin1" is needed? showdependencygraph.cgi: Use of uninitialized value $default in concatenation (.) or string at /var/www/html/bugzilla/showdependencygraph.cgi line 83. Not sure whether this is a single or multiple issue.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → 3.4.4
Keywords: regression
OS: Linux → All
Hardware: x86_64 → All
Target Milestone: --- → Bugzilla 3.4
Attached patch patch, v1Splinter Review
Same trick as all other places where wide characters are a problem. Tested, and this fixes the problem.
Assignee: dependency.views → LpSolit
Status: NEW → ASSIGNED
Attachment #425977 - Flags: review?(wurblzap)
Summary: dependency graph containing summary with german umlaut does not work → Dependency graphs cannot be displayed when bug summaries contain UTF8 characters
For Japanese, this bug does not reproducible. w/ or w/o this patch, test installations don't have this issue. http://landfill.bug-ja.org/ja-304/showdependencygraph.cgi?id=1&showsummary=on&display=tree&rankdir=TB
Finally, I could not reproduce this bug. See our test server, url is the same as comment 4. > http://landfill.bug-ja.org/ja-304/showdependencygraph.cgi?id=1&showsummary=on&display=tree&rankdir=TB For me, it's not related on our code, but some perl module version.
Looks like we need more data on platforms (and of course Perl versions) tested
Marc, ping?
Comment on attachment 425977 [details] [diff] [review] patch, v1 Looks fine to me.
Attachment #425977 - Flags: review?(wurblzap) → review+
Flags: approval3.6+
Flags: approval3.4+
Flags: approval+
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/ modified showdependencygraph.cgi Committed revision 7051. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/3.6/ modified showdependencygraph.cgi Committed revision 7019. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/3.4/ modified showdependencygraph.cgi Committed revision 6738.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Thanks, this would've taken at least one more week for me.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: