Open Bug 387404 Opened 17 years ago Updated 2 years ago

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

Categories

(MailNews Core :: Address Book, defect, P4)

Tracking

(Not tracked)

Future

People

(Reporter: standard8, Unassigned)

References

Details

Attachments

(1 file)

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.
Attached patch WIP PatchSplinter Review
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
Product: Core → MailNews Core
I think at this stage, this will most likely be revisited in TB.next.
Assignee: bugzilla → nobody
Target Milestone: --- → Future
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: