Closed
Bug 1590021
Opened 5 years ago
Closed 5 years ago
AB converstion runs over and over if the original AB is empty
Categories
(MailNews Core :: Address Book, defect)
MailNews Core
Address Book
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 71.0
People
(Reporter: jorgk-bmo, Assigned: darktrojan)
Details
Attachments
(1 file, 1 obsolete file)
9.50 KB,
patch
|
darktrojan
:
review+
|
Details | Diff | Splinter Review |
I see:
console.log: "Creating new abook.sqlite"
console.log: "Creating new history.sqlite"
every time I start my local build.
OK, I had abook.sqlite, .mab and .mab.bak. So I removed .sqlite and .mab.bak hoping for a one-time conversion. But not so. There's also no
"Renaming ${fileName}.mab to ${fileName}.mab.bak"
log.
Reporter | ||
Comment 1•5 years ago
|
||
Actually, the .mab file was empty before the conversion.
Assignee | ||
Comment 2•5 years ago
|
||
I could be wrong but this appears to be caused by the empty .mab.
Reporter | ||
Updated•5 years ago
|
Summary: AB converstion runs over and over and over and over → AB converstion runs over and over if the original AB is empty
Assignee | ||
Comment 3•5 years ago
|
||
Assignee: nobody → geoff
Status: NEW → ASSIGNED
Attachment #9102899 -
Flags: review?(mkmelin+mozilla)
Comment 4•5 years ago
|
||
Comment on attachment 9102899 [details] [diff] [review] 1590021-addrbook-migration-bugs-1.diff Review of attachment 9102899 [details] [diff] [review]: ----------------------------------------------------------------- Thanks! r=mkmelin ::: mailnews/addrbook/test/unit/test_migration4.js @@ +8,5 @@ > + * This test profile has an empty (no entries, not zero-length) history book. > + * Migration should not fail as seen in bug 1590021. > + */ > + > +const { fixIterator } = ChromeUtils.import( you're not using this
Attachment #9102899 -
Flags: review?(mkmelin+mozilla) → review+
Assignee | ||
Comment 5•5 years ago
|
||
That's true, I'm not using it in the file I copied it from either.
Attachment #9102899 -
Attachment is obsolete: true
Attachment #9102902 -
Flags: review+
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/f5a320f3ebce
Fix conversion of empty address book and don't overwrite existing backup files. r=mkmelin
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•5 years ago
|
Target Milestone: --- → Thunderbird 71.0
You need to log in
before you can comment on or make changes to this bug.
Description
•