Download LDAP directory locally and switch to offline -> delete ldap file
Categories
(Thunderbird :: Address Book, defect)
Tracking
(thunderbird_esr91 fixed, thunderbird98 fixed)
People
(Reporter: adrien.rybarczyk, Assigned: rnons)
References
(Regression)
Details
(Keywords: regression)
Attachments
(4 files)
6.96 KB,
image/png
|
Details | |
8.22 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
|
Details | Review |
4.63 KB,
patch
|
wsmwk
:
approval-comm-esr91+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36
Steps to reproduce:
- Download a LDAP directory
- Wait for the end of the replication
- Switch to offline
Actual results:
The LDAP file, which has just been downloaded and created, is deleted.
Expected results:
The file is not deleted.
In LDAPReplicationService.jsm, there is no connection closure after a success.
This is why, if another event is triggered (e.g. going offline), it will apply the associated action (deleting the file).
Reporter | ||
Comment 1•3 years ago
|
||
Comment 2•3 years ago
|
||
Ping, please have a look.
Assignee | ||
Comment 3•3 years ago
|
||
Clean up in _done should only be run once.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/2cb433ab0393
Prevent LDAP replication file being removed after going offline. r=mkmelin
Updated•3 years ago
|
Assignee | ||
Comment 5•3 years ago
|
||
Comment on attachment 9262956 [details]
Bug 1754186 - Prevent LDAP replication file being removed after going offline. r=mkmelin
[Approval Request Comment]
Regression caused by (bug #): bug 1696625
User impact if declined: Going offline immediately after replicating a LDAP address book will delete the sqlite db file
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): low
Comment 6•3 years ago
|
||
Comment on attachment 9262956 [details]
Bug 1754186 - Prevent LDAP replication file being removed after going offline. r=mkmelin
[Triage Comment]
Approved for beta
Comment 7•3 years ago
|
||
bugherder uplift |
Thunderbird 98.0b3:
https://hg.mozilla.org/releases/comm-beta/rev/ebb089431f0f
Comment 8•3 years ago
|
||
Ping, this patch will not apply on c-esr91 as is. Could you take a look?
Assignee | ||
Comment 9•3 years ago
|
||
Rebase to esr91, only differences are the file paths.
[Approval Request Comment]
Regression caused by (bug #): bug 1696625
User impact if declined: Going offline immediately after replicating a LDAP address book will delete the sqlite db file
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): low
Assignee | ||
Updated•3 years ago
|
Comment 10•3 years ago
|
||
Comment on attachment 9269163 [details] [diff] [review]
1754186-esr91.patch
[Triage Comment]
Approved for esr91
Comment 11•3 years ago
|
||
bugherder uplift |
Thunderbird 91.8.0:
https://hg.mozilla.org/releases/comm-esr91/rev/8de3ca578bf9
Description
•