Closed Bug 1728025 Opened 4 years ago Closed 4 years ago

Stop using canonical name as collection keys

Categories

(SeaMonkey :: Chat, defect)

defect

Tracking

(seamonkey2.53+ fixed)

RESOLVED FIXED
seamonkey 2.92
Tracking Status
seamonkey2.53 + fixed

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

References

Details

(Whiteboard: SM2.53.10)

Attachments

(1 file, 2 obsolete files)

+++ This bug was initially created as a clone of Bug #498178 +++

Two potential solutions:

  1. Implement a Dictionary/Mapping class to handle collections that avoids name clashes. This would require methods to replace iteration, getting and setting - and thus lots of code changes

  2. Instead of using cannonicalName as the key, create a new property (collectionKeyName perhaps?) which is prefixed with some character which would be invalid for real methods.

The second of these is probably the better choice for this bug.

[Triage Comment]
r/a=me

Attachment #9238423 - Flags: review+
Attachment #9238423 - Flags: approval-comm-release+
Attachment #9238423 - Flags: approval-comm-esr60+
Blocks: 1728027

Fixed bitrotting

Attachment #9238423 - Attachment is obsolete: true
Attachment #9238430 - Flags: review?(frgrahl)
Attachment #9238430 - Flags: approval-comm-release?
Attachment #9238430 - Flags: approval-comm-esr60?

Fix more bit rotting from Bug 1724586

Attachment #9238430 - Attachment is obsolete: true
Attachment #9238430 - Flags: review?(frgrahl)
Attachment #9238430 - Flags: approval-comm-release?
Attachment #9238430 - Flags: approval-comm-esr60?
Attachment #9239219 - Flags: review?(frgrahl)
Attachment #9239219 - Flags: approval-comm-release?
Attachment #9239219 - Flags: approval-comm-esr60?

Comment on attachment 9239219 [details] [diff] [review]
1728025-irc-collectionkeys-v1_1-25310.patch

[Triage Comment]
r/a=me

Attachment #9239219 - Flags: review?(frgrahl)
Attachment #9239219 - Flags: review+
Attachment #9239219 - Flags: approval-comm-release?
Attachment #9239219 - Flags: approval-comm-release+
Attachment #9239219 - Flags: approval-comm-esr60?
Attachment #9239219 - Flags: approval-comm-esr60+

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/b9515e0db914
Stop using canonical name as collection keys. r=IanN

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Whiteboard: SM2.53.10
Target Milestone: --- → seamonkey 2.92
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: