Search engines metadata (search.json.mozlz4) is no longer portable
Categories
(Firefox :: Search, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | affected |
People
(Reporter: kulmegil, Unassigned)
Details
Attachments
(1 file)
23.40 KB,
image/png
|
Details |
profile\search.json.mozlz4 is no longer portable and cannot be safety copied between profiels.
The engines are now (bug 1542235) are now converted to webextension format. Their UUIDs are different for new profile. This cause all build-in engines to break - their icons are now longer loaded and restoring default search engines doesn't fix the issue.
I would like to be able to safetly import / export search configuration into new profiles automatically, some other method then using Firefox Sync.
The only viable option is probably writing some browser console script and operate BrowserSearchService directly. It's not an acceptable solution.
Comment 1•6 years ago
|
||
We'd like to understand a bit more about why you're copying this file.
What is the use case behind wanting to copy search.json.mozlz4? Why are you copying this across profiles or creating new profiles?
I simply would like to be able to programmatically setup new profile(s) filled some generic data:
preferences, bookmarks, extensions, search settings
This is not a complete backup of my profile, just a simply start point.
Search settings includes all installed engines (including opensearch.xml engines collected from various sites), ordering visibility and their keywords.
Firefox includes multiple ways to import/export current set of bookmarks (html, json, sync, importing from other browsers, enterprise policies, ect.) there is a lacking in this area when it comes to search settings:
- enterprise policies are restricted to ESR only
- legacy /distribution/searchplugins only allows to install engines from xml format
- and then there is the crude "jsut copy search.json.mozlz4" from existing profile
- Data interoperability is important thing so..
I simply would like to be able to programmatically setup new profile(s) filled some generic data:
preferences, bookmarks, extensions, search settings
This is not a complete backup of my profile, just a simply start point.
Search settings includes all installed engines (including opensearch.xml engines collected from various sites), ordering visibility and their keywords.
Firefox includes multiple ways to import/export current set of bookmarks (html, json, sync, importing from other browsers, enterprise policies, ect.) there is a lacking in this area when it comes to search settings:
- enterprise policies are restricted to ESR only
- legacy /distribution/searchplugins only allows to install engines from xml format
- and then there is the crude "jsut copy search.json.mozlz4" from existing profile
Data interoperability is important thing so..
Comment 4•6 years ago
|
||
Whilst I can understand your case, this isn't something that we want to support at the moment. I would expect a possible workaround would be to additionally copy your extensions data between profiles as well - I would assume that keeps the same uuids for extensions.
Description
•