Closed Bug 294967 Opened 20 years ago Closed 20 years ago

1.1 uses extensions.rdf in <profile>/extensions.rdf, but doesn't delete <profile>/extensions/extensions.rdf, confusing savvy users

Categories

(Toolkit :: Add-ons Manager, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mark, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050520 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050520 Firefox/1.0+

Using 20050520 build, install Adblock or ForecastFox extension and restart
browser. Examine extensions/extensions.RDF file in user's profile. It is still
the default version (dated May 11), nothing has been added. Same thing for
installed-extensions.txt. Adblock at least seems to work anyway.

Reproducible: Always



Expected Results:  
extensions.RDF should be updated. If it is no longer in use, then the default
file should never be installed at all.
On the trunk extensions.rdf lives directly inside the profile folder. I'm unable
to reproduce the creation of an "extensions\extensions.rdf" file, the file does
not appear to be in the default profile and it does not appear to be created
when a profile is created, is it possible the file was from a previous
profile/firefox-version?
extensions.rdf now lives right in the profile folder. invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
(In reply to comment #1)
> On the trunk extensions.rdf lives directly inside the profile folder. I'm unable
> to reproduce the creation of an "extensions\extensions.rdf" file, the file does
> not appear to be in the default profile and it does not appear to be created
> when a profile is created, is it possible the file was from a previous
> profile/firefox-version?

I installed 1.1 over 1.0.4 which is what many users will do. Almost certainly
what is happening is that the entire new profile folder is getting copied from
the one at C:\Program Files\Mozilla Firefox\defaults\profile\extensions and that
has the residue of 1.0.4.

This seems bound to cause confusion at a later date, since there will be lots of
bogus <profile>\extension\extension.rdf files floating around.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
I don't see what kind of user confusion it can cause, users aren't supposed to
look inside the profile. The datasource format has changed as part of EM rework,
and I think that the old one is left there so that user can go back to 1.0.x. I
may be wrong, but then there is chrome.rdf etc which are not deleted nor used
either.

Resummarizing and confirming. I still believe "invalid" is the correct
resolution for this.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: With 1.1, extensions.RDF in user's profile is not updated. → 1.1 uses extensions.rdf in <profile>/extensions.rdf, but doesn't delete <profile>/extensions/extensions.rdf, confusing savvy users
Version: unspecified → Trunk
(In reply to comment #4)
> I don't see what kind of user confusion it can cause, users aren't supposed to
> look inside the profile. The datasource format has changed as part of EM rework,
> and I think that the old one is left there so that user can go back to 1.0.x. I
> may be wrong, but then there is chrome.rdf etc which are not deleted nor used
> either.

On general principle, letting unused files accumulate might not a be good idea.
One scenario where it would bite you: suppose in a future version 1.x someone
decides that moving extensions.rdf to the <profile>\ folder was not a good idea,
and you want to move it back to <profile>\extensions\. You might then regret
leaving unused extension.rdf files lying around.

If C:\Program Files\Mozilla Firefox\defaults\ was expanded to C:\Program
Files\Mozilla Firefox\defaults\1.1\ this and other potential issues might be
averted. Perhaps the user profile itself should also be similarly version-specific.


Removing this file would for all practical purposes uninstall all extensions in
the profile if the user ever went back to the earlier version. The savvy users
can always manually delete the file or create a new profile but the non-savvy
users would be extremely confused if they decided to downgrade. I concur with
Nickolay in the belief this is invalid or wontfix.
Status: NEW → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → WONTFIX
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.