Closed Bug 310995 Opened 19 years ago Closed 19 years ago

Software Update must delete bug307259.js (the "no-IDN" patch)

Categories

(Toolkit :: Application Update, defect)

1.8.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.8final

People

(Reporter: dveditz, Assigned: darin.moz)

Details

(Keywords: fixed1.8)

Current versions of 1.8 and trunk contain the real fix for bug 307259. The
installers delete the bug307259.js default pref file added by the stop-gap
patch, but Software Update does not.

Sorry if this is a dupe. The installer changes show someone was obviously
thinking about the issue at one point, I just don't want this to get lost and
couldn't find a bug that tracked it.
Flags: blocking1.8b5?
Software update doesn't? are you sure?
http://lxr.mozilla.org/mozilla/source/browser/installer/removed-files.in#17
should be used for both the installer and MAR files.
Flags: blocking1.8b5? → blocking1.8b5+
I downloaded the latest mozilla1.8 branch MAR file for linux, unpacked it, and
checked the contents of the update.manifest file.  I see the following remove
instruction for the pref file:

  remove "defaults/pref/bug307259.js"

Marking WORKSFORME.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
dveditz, were you saying that whether or not the remove command is in the MAR
file the bug307259.js file is not being deleted?
clearing blocking flag due to WFM.
Flags: blocking1.8b5+
(In reply to comment #4)
> dveditz, were you saying that whether or not the remove command is in the MAR
> file the bug307259.js file is not being deleted?

That's exactly what I'm saying. I still have bug307259.js and I've been getting
daily ("nightly") updates on the 1.8 branch.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
When I unpack the windows .mar I see a file called "removed-files", with the
line defaults/pref/bug307259.js in it. I don't see a file with a "remove foo"
instruction line if you meant the remove as a literal token.

Is the removal being attempted by a utility that can't handle forward slashes on
windows?
OS: All → Windows XP
Hardware: All → PC
(In reply to comment #7)
> I don't see a file with a "remove foo" instruction line

Of course grep doesn't work on compressed files :-S

update.manifest does contain the line
  remove "defaults/pref/bug307259.js"
but it doesn't appear to work on windows.
OK, this sounds serious.  I'll investigate this shortly.
Assignee: nobody → darin
Status: REOPENED → NEW
Yup, I'm seeing this bug too.
OK, I think the problem here is that the incremental updates do not contain the
remove commands!  Perhaps the copy of make_incremental_update.sh used by the
nightly build system is out of date?  Chase?
This seems like something we need to resolve before shipping updates to beta 1.
Flags: blocking1.8b5?
Target Milestone: --- → Firefox1.5
(In reply to comment #11)
> OK, I think the problem here is that the incremental updates do not contain the
> remove commands!  Perhaps the copy of make_incremental_update.sh used by the
> nightly build system is out of date?  Chase?

Yes, it was updated yesterday at bsmedberg's request.  See bug 310715.  Inform
me when you have a change that needs to be placed in it because it isn't updated
automatically.
This is working with partial updates now.
Status: NEW → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → FIXED
Flags: blocking1.8b5?
Keywords: fixed1.8
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.