Closed
Bug 178772
Opened 23 years ago
Closed 23 years ago
doeditparams.cgi failed with malformed headers
Categories
(Bugzilla :: Administration, task, P2)
Bugzilla
Administration
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: myk, Assigned: justdave)
References
Details
Attachments
(1 file)
513 bytes,
patch
|
justdave
:
review+
justdave
:
review+
|
Details | Diff | Splinter Review |
doeditparams.cgi fails on the trunk with a server error after I edit params and
then submit my changes. The Apache log says:
[Wed Nov 6 17:56:36 2002] [error] [client 64.236.139.249] malformed header from
script. Bad header=We don't have shadow databases:
/opt/webtools/bugzilla-test/doeditparams.cgi
"We don't have shadow databases" appears in syncshadowdb, which is somehow being
called first, even though doeditparams.cgi returns HTTP headers before it does
almost everything.
![]() |
||
Comment 1•23 years ago
|
||
This is a dupe of bug 177316, which was reported by joel, and then later marked
by him as WFM.
The bad news is that there is no way I will be looking at this before Friday
afternoon. The good news is that my Fri afternoon is your Thursday evening,
which gives us more time.
![]() |
||
Comment 2•23 years ago
|
||
The easy fix for this is to yank line 97 of syncshadowdb.
Reporter | ||
Comment 3•23 years ago
|
||
Bizarre. By writing to STDERR, syncshadowdb appears to be purging the pipe of
existing output in favor of its own.
![]() |
||
Comment 4•23 years ago
|
||
OK, this is officially bizzarre....
This fails on my solaris 7 machine with perl 5.6.1 built from source
and passes on my Linux system with the same perl source build.
Key CPAN module are the same.
![]() |
||
Comment 5•23 years ago
|
||
I'm guessing apache version changes, or just an OS thing wrt file handles
inheriting over fork.
Why don't we just wrap the system call from doeditparams in a if
(!Param("shadowdb"))
?
![]() |
||
Comment 6•23 years ago
|
||
![]() |
||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → Bugzilla 2.18
Assignee | ||
Comment 7•23 years ago
|
||
Comment on attachment 105507 [details] [diff] [review]
Patch
r= justdave
a= justdave
Attachment #105507 -
Flags: review+
![]() |
||
Comment 8•23 years ago
|
||
Checking in doeditparams.cgi;
/cvsroot/mozilla/webtools/bugzilla/doeditparams.cgi,v <-- doeditparams.cgi
new revision: 1.22; previous revision: 1.21
done
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
![]() |
||
Comment 9•23 years ago
|
||
The real cause of this was bug 179174.
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•