bug description ignored on new bug submission

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

bug description ignored on new bug submission

S.George
Hi,

I am testing 2.20rc1. With this release and also 2.19.3, I have found
that when submitting a new bug, the description I enter is lost. On the
next page shown after submission, the description is empty. I can then
successfully add it again as an additional comment.

Has anyone else seen this problem?

In case it is relevant, I am sumbitting bugs via Firefox 1.0.4 on
RHEL3, and the server is hosted on a similar system.

Thanks,
Simon

_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

Re: bug description ignored on new bug submission

A. Karl Kornel
In article <[hidden email]>,
 [hidden email] wrote:

> Hi,
>
> I am testing 2.20rc1. With this release and also 2.19.3, I have found
> that when submitting a new bug, the description I enter is lost. On the
> next page shown after submission, the description is empty. I can then
> successfully add it again as an additional comment.
>

   I can only think of two reasons why this might be happening.  The
first could be some kind of weird error reflected in Apache's error_log.  
Take a look and see if anything's there!

   Also, the comments you enter are passed through a template for
processing, and the results of the processed template would be stored as
the actual comment.  Normally this doesn't actually do anything, but
it's possible that this template was messed up at some point.  The
template of interest is located at
`template/en/default/bug/create/comment.txt.tmpl`.  If you're using a
localized template or a custom template, then replace 'en' with the
appropriate language code and/or replace 'default' with 'custom'.  Do
you see "format=" included in one of the URLs that you see during
submission?  If so, then a different template may be used.

   Also, I've heard that if you have Security Enhanced Linux enabled
Bugzilla won't work as expected.  This could be another reason!
--
=============================
|   Alfred Karl Kornel
|   -- [hidden email]
|   Member- Europa Research Group
|   UNIX / RESOLVE Consultant
=============================

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

Re: bug description ignored on new bug submission

S.George
Thanks for your help Alfred.

In my apache error log:
post_bug.cgi: Use of uninitialized value in string eq at
/usr/local/bugzilla/post_bug.cgi line 132., referer:
https://localhost/bugzilla/enter_bug.cgi?product=MyProduct

I checked the templates, I found that my custom versions of
bug/create/comment.txt.tmpl and bug/create/create.html.tmpl differed a
bit - I think I must have overlooked them when updating to 2.19.3.
Anyway, I removed that and re-ran checksetup.pl. Now it works ok. Also
there is no longer an error in the apache log when I submit a bug. So I
think the problem was caused by not updating my custom templates.

Thanks again,
Simon

_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools