Closed
Bug 311531
Opened 19 years ago
Closed 19 years ago
last-update.log isn't updated if it already exists
Categories
(Toolkit :: Application Update, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.8final
People
(Reporter: nthomas, Assigned: darin.moz)
Details
(Keywords: fixed1.8)
Attachments
(1 file)
1.98 KB,
patch
|
benjamin
:
review+
asa
:
approval1.8rc1+
|
Details | Diff | Splinter Review |
This manifests as the second and subsequent updates not removing the existing log and replacing it with the one from the just completed updated. Remove the file and it works fine. This is the code that preserves the log http://lxr.mozilla.org/mozilla/source/toolkit/mozapps/update/src/nsUpdateService.js.in#331 Steps to reproduce: 1, grab and unpack an archive build like the win32 zip from here http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2005-10-05-07-mozilla1.8/ 2, change from beta to nightly channel 3, update once, observe last-update.log is created 4, update again, observe that modification date and file size has not changed 5, remove last-update.log 6, update, log is created
Assignee | ||
Comment 1•19 years ago
|
||
-> me
Assignee: nobody → darin
Severity: normal → major
Flags: blocking1.8rc1?
Target Milestone: --- → Firefox1.5
Assignee | ||
Comment 2•19 years ago
|
||
Attachment #198821 -
Flags: review?(benjamin)
Comment 3•19 years ago
|
||
Comment on attachment 198821 [details] [diff] [review] v1 patch Bah, I should have caught this the first time 'round.
Attachment #198821 -
Flags: review?(benjamin) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #198821 -
Flags: approval1.8rc1?
Assignee | ||
Comment 4•19 years ago
|
||
It shouldn't cause us too much headache provided we get this fix in for 1.5rc1 Only the nightly and betatest channels should be affected by this bug.
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•19 years ago
|
||
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Attachment #198821 -
Flags: approval1.8rc1? → approval1.8rc1+
Comment 6•19 years ago
|
||
adjusting the blocking flag based on our patch approval.
Flags: blocking1.8rc1? → blocking1.8rc1+
Assignee | ||
Comment 8•19 years ago
|
||
crap, this patch didn't work. it prevents us from writing last-update.log if it does not exist! :-( see bug 313963
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•