Change MDB directory uri from moz-abmdbdirectory://<filename> to moz-abmdbdirectory://<prefname>

NEW
Unassigned

Status

P4
normal
11 years ago
9 years ago

People

(Reporter: standard8, Unassigned)

Tracking

Trunk
Future
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Currently the RDF resource URI for MDB (mork) type directories is of the form:

moz-abmdbdirectory://<filename>

As part of the work for bug 331557, I'd like to be able to create directories without a filename set up initially - not all directory types (outlook & osx for example) need a filename set, so we should be able to create a directory without setting the filename.

Therefore I'd like to be able to change the uri to the form:

moz-abmdbdirectory://<prefname>

i.e. moz-abmdbdirectory://ldap_2.servers.pab

This is similar to what we currently use for ldap resources URIs. This will make various things a lot easier - for one, we won't have to search through all the prefs for a matching filename (just to find the base pref name).

This may affect extensions that use the uri, but seeing as we've made major changes on trunk already, they will need some rework anyway.

Internally I can't see/think of any problems with doing this.
Created attachment 271684 [details] [diff] [review]
WIP Patch

A very WIP patch that starts up ok, but still needs work for offline ldap, creating directories/cards and importing.
Depends on: 387557
No longer blocks: 331557
Depends on: 394781
Priority: -- → P4
(Assignee)

Updated

10 years ago
Product: Core → MailNews Core
I think at this stage, this will most likely be revisited in TB.next.
Assignee: bugzilla → nobody
Target Milestone: --- → Future
You need to log in before you can comment on or make changes to this bug.