Closed
Bug 325264
Opened 20 years ago
Closed 20 years ago
can't change newsgroups, doc links, or component description
Categories
(Webtools Graveyard :: Despot, defect, P2)
Webtools Graveyard
Despot
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: justdave)
References
Details
(Keywords: regression)
Attachments
(1 file)
|
717 bytes,
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
i've tried to change newsgroups, both as a peer and as an owner, it isn't working.
I'm unable to change newsgroups, doc links, or component description in despot.
This is a serious regression.
Severity: major → critical
OS: Windows XP → All
Hardware: PC → All
| Assignee | ||
Updated•20 years ago
|
Priority: -- → P2
The patch to bug 313041 seems the most suspicious as a potential cause of this bug. It changed the line where the description, branchid, state, newsgroups, and doclinks were set; I'm not sure if anyone's tested changing branchid or state recently, but the other three are known to be broken and most other fields are known to work.
Summary: can't change newsgroups → can't change newsgroups, doc links, or component description
- Query("update partitions set description=" .
- $::db->quote($F::description) .
- ", branchid=$branchid, state='$F::state', newsgroups=" .
- $::db->quote($F::newsgroups) .
- ", doclinks=" .
- $::db->quote($F::doclinks) .
- " where id=$F::partitionid");
+ $::db->do("UPDATE partitions SET description = ?, " .
+ "branchid = ?, " .
+ "state = ?, " .
+ "newsgroups = ?, " .
+ "doclinks = ?, " .
+ "WHERE id = ?",
+ undef, $F::description, $branchid, $F::state, $F::newsgroups, $F::doclinks, $F::partitionid);
Could the problem be the comma added before "WHERE" in the above change from bug 313041?
| Assignee | ||
Comment 4•20 years ago
|
||
(In reply to comment #3)
> Could the problem be the comma added before "WHERE" in the above change from
> bug 313041?
Almost positively. If that's not the cause of this specific problem, it's still wrong. Based on the logs, I'm betting this is it. I've already pushed this patch live, give it a shot and see if it works.
Attachment #219980 -
Flags: review?(dbaron)
Comment on attachment 219980 [details] [diff] [review]
Patch v1
yep, it works. I'm not really a qualified reviewer for this language, but it is a one character patch to revert it back to the way it used to be...
Attachment #219980 -
Flags: review?(dbaron) → review+
| Assignee | ||
Comment 6•20 years ago
|
||
Checking in despot.cgi;
/cvsroot/mozilla/webtools/despot/despot.cgi,v <-- despot.cgi
new revision: 1.36; previous revision: 1.35
done
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•