Closed
Bug 140850
Opened 24 years ago
Closed 24 years ago
importing an LDIF address book hangs the browser
Categories
(MailNews Core :: Import, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: gagan, Assigned: cavin)
Details
(Keywords: dataloss, hang, Whiteboard: [adt2 rtm])
Attachments
(2 files, 1 obsolete file)
|
406 bytes,
text/plain
|
Details | |
|
700 bytes,
patch
|
sspitzer
:
review+
sspitzer
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
Attempted to import an address book in LDIF format. It hangs the browser.
Build Id: 2002042806.
Comment 2•24 years ago
|
||
Branch build 2002-04-30-06: WinMe
I imported an LDIF file with about 500 records and do not experience a hang.
Stephen, can you try this on your Win2k system?
No problems for me with http://rocknroll/users/nbaca/publish/MachV/574.ldif on
2002-04-30-06, Windows 2000.
Comment 4•24 years ago
|
||
When I import this ldif file, it "hangs" the browser. I use quotes because the
behaviour is really this:
The progross meter is stuck and the cpu meter is pegged. You can cancel the
import, but the cpu usage remains at 100%.
I can't verify the validity of the ldif file format, but it shouldn't hang like
this regardless. I created the ldif by exporting a ureach.com address book.
| Assignee | ||
Comment 5•24 years ago
|
||
I can't make it to hang using the attached ldif file. I'm running 1.0rc3
(20020523). Branch build 20020528 works fine too. The imported card has a
nickname, work phone and work address.
Comment 6•24 years ago
|
||
Commercial Branch build 2002-05-28: WinMe
I also imported the attached file and it imported one record without a hang.
Comment 7•24 years ago
|
||
Using 1.0RC3, I still get a hang when I try to import the attached file.
| Assignee | ||
Comment 8•24 years ago
|
||
Hey, Steve can you email me your ldif file (the one you have problems with) so
that I can see if I can reproduce it here? Thanks. The one you used may be
different from mine in some chars, which can make a difference. Just a guess.
| Assignee | ||
Comment 9•24 years ago
|
||
Using Steve's test ldif file I was able to see the hang problem and it's caused
by the two sets of leading CR/LF at the beginning of the ldif file. Not sure if
it's the same problem as Gagan's though since I don't have Gagan's ldif file to
look at. A patch is coming.
| Assignee | ||
Comment 10•24 years ago
|
||
Change component to Import and taking from racham.
Assignee: racham → cavin
Component: Address Book → Import
| Assignee | ||
Comment 11•24 years ago
|
||
In AddLdifRowToDatabase(), reset CR/LF counters and return if there's no data
in the ldif buffer to process (for example, space lines in the ldif file).
Comment 12•24 years ago
|
||
Comment on attachment 86414 [details] [diff] [review]
Proposed fix, v1
R=ducarroz
Attachment #86414 -
Flags: review+
Updated•24 years ago
|
Attachment #86414 -
Flags: superreview+
Comment 13•24 years ago
|
||
Comment on attachment 86414 [details] [diff] [review]
Proposed fix, v1
instead of !m_ldifLine.Length(), you should probably do:
m_ldifLine.IsEmpty()
can you try that instead?
sr=sspitzer
| Assignee | ||
Comment 14•24 years ago
|
||
OK, will do that before checking it in.
| Assignee | ||
Comment 15•24 years ago
|
||
Use IsEmpty() instead of !Length() call.
Attachment #86414 -
Attachment is obsolete: true
Comment 17•24 years ago
|
||
Comment on attachment 86508 [details] [diff] [review]
Incorporated comment.
carrying over r/sr
Attachment #86508 -
Flags: superreview+
Attachment #86508 -
Flags: review+
Comment 18•24 years ago
|
||
Comment on attachment 86508 [details] [diff] [review]
Incorporated comment.
a=asa (on behalf of drivers) for checkin to the 1.1 trunk.
Attachment #86508 -
Flags: approval+
| Assignee | ||
Comment 19•24 years ago
|
||
Fix checked into the trunk.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•24 years ago
|
Comment 20•24 years ago
|
||
adding adt1.0.1+. Please get drivers approval before checking into the branch.
Comment on attachment 86508 [details] [diff] [review]
Incorporated comment.
Please land this on the 1.0.1 branch. Once there, remove the
"mozilla1.0.1+" keyword, and add the "fixed1.0.1"
Keywords: mozilla1.0.1 → mozilla1.0.1+
| Assignee | ||
Comment 22•24 years ago
|
||
Fix checked in to the branch.
Keywords: mozilla1.0.1+ → fixed1.0.1
Comment 23•24 years ago
|
||
Branch build 2002-06-17: WinMe, ok, verified1.0.1
Trunk build 2002-06-17: WinMe, ok, Verified/Fixed
Status: RESOLVED → VERIFIED
Keywords: fixed1.0.1 → verified1.0.1
Updated•21 years ago
|
Product: MailNews → Core
Updated•18 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•