Closed
Bug 231810
Opened 21 years ago
Closed 21 years ago
Incorrect prompt when copying address records between address books
Categories
(SeaMonkey :: MailNews: Address Book & Contacts, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: stephan.bucher, Assigned: Stefan.Borggraefe)
Details
(Keywords: regression)
Attachments
(2 files)
2.28 KB,
patch
|
neil
:
review+
mscott
:
superreview+
|
Details | Diff | Splinter Review |
2.27 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.6) Gecko/20040117
Build Identifier: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.6) Gecko/20040117
When copying address records from one address book to another, the prompt in the
bottom line always reads "0 card(s) copied" even when the records in reality
have been copied correctly.
Reproducible: Always
Steps to Reproduce:
1.select address record(s) in address book 1.
2.drag with mouse to another address book.
3.release mouse button
Actual Results:
All selected records were copied but the prompt read "0 card(s) copied"
Expected Results:
"xx card(s) copied"
Assignee | ||
Comment 1•21 years ago
|
||
Confirming with a current CVS build on Linux.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Incorrect prompt when copying address recoords between address books → Incorrect prompt when copying address records between address books
Assignee | ||
Comment 2•21 years ago
|
||
This is a regression from bug 205709. This getFormattedString() call here
http://lxr.mozilla.org/mozilla/source/mailnews/addrbook/resources/content/abDragDrop.js#168
needs to use j now, too. Not i.
I'll upload a patch in a minute.
Assignee: sspitzer → borggraefe
Keywords: regression
Assignee | ||
Comment 3•21 years ago
|
||
Actually it's even more logical to use numrows instead of j. j equals numrows
after the for-loop anyway.
I also split the string "%S card(s) moved" into "1 card moved" and "%S cards
moved". I think this is better English.
Assignee | ||
Updated•21 years ago
|
Attachment #139675 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 4•21 years ago
|
||
Comment on attachment 139675 [details] [diff] [review]
Patch
Gosh, the indentation in this file is awful :-/
Nit: You don't need the ()s around the whole expression.
Attachment #139675 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #139675 -
Flags: superreview?(mscott)
Updated•21 years ago
|
Attachment #139675 -
Flags: superreview?(mscott) → superreview+
Assignee | ||
Comment 5•21 years ago
|
||
This is the same patch as before just with the parenthesis around ? : removed.
Ready for checkin. :-)
Assignee | ||
Comment 6•21 years ago
|
||
Checked in by timeless. He accidentally checked in the first patch. Since there
is only a stylistic difference between the two patches, I guess it's not that
important. timeless said "blame me". ;-)
Marking FIXED anyway. :-)
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•21 years ago
|
||
timeless just corrected his small mistake.
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•