Hi Markus, thanks again for looking at this issue closely. A few things need to be clarified.
On Thu, 2010-07-22 at 19:03 +0200, [email protected] wrote: > It seems to me that this is the behavior as previously described in > > http://bugzilla.mkgnu.net/show_bug.cgi?id=580 Yes, this is the bug under which the problem of truncated logs is described. > It struck me that several comments were truncated the same way our > comments get truncated if they contain non-ASCII characters: > > http://bugzilla.mkgnu.net/show_bug.cgi?id=580#c21 > http://bugzilla.mkgnu.net/show_bug.cgi?id=580#c22 > http://bugzilla.mkgnu.net/show_bug.cgi?id=580#c23 > > So this problem appears to be there even on your very own production > machine... No. There are truncated comments, but those comments were entered through the Web UI; not through Scmbug. The comments are truncated probably due to an upgrade of Bugzilla and/or MySQL on the server in the past. > For instance, if you commit some changes to SVN with a comment that > says > > bla bla blö funktionieren die umlaute jetzt? bli bla blü > > In contrast to this, we have found that comments in Bugzilla look like > this: > > bla bla bl Yes, this is a problem. > Trying to track the reason down, I have tried to follow the comment's > way from SVN through svmbug to Bugzilla: > Can we conclude from this that the problem lies within Bugzilla? From what we know the environment locale affects the interpretation of the characters: http://bugzilla.mkgnu.net/show_bug.cgi?id=580#c20 I doubt there's a problem with Bugzilla. It may be the case that Bugzilla expects a specific locale (that Bugzilla or Apache may even be setting in the environment) and that Scmbug uses a different locale in its environment. > And if so, why would Bugzilla work while entering special characters > via the Web interface? As it does.... I suspect this was the problem when the mkgnu.net Bugzilla instance truncated a lot of comments; an environment/locale issue. > Does anyone have a clue how to get this fixed or how to proceed in > order to track the error further down? A place to start would be to try and dump in a debugging file the environment in Scmbug when committing, and the environment in Bugzilla when submitting a bug and compare them. The locale is probably the problem, as identified by Javier. http://bugzilla.mkgnu.net/show_bug.cgi?id=580#c20 It would be nice to understand if Scmbug reliably extracts the log message from SVN (Javier had found Scmbug was at fault when he was researching this) or whether Scmbug needs to alter the environment in a special way when loading the Bugzilla libraries; as if loading them through Scmbug misses this (and possibly other) configuration steps.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
