Closed
Bug 467085
Opened 17 years ago
Closed 17 years ago
log4moz updateParents messed up, doesn't support multilevel parenting properly
Categories
(Cloud Services :: General, defect)
Cloud Services
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rain1, Assigned: rain1)
References
Details
Attachments
(2 files, 2 obsolete files)
|
2.64 KB,
patch
|
rain1
:
review+
|
Details | Diff | Splinter Review |
|
1.25 KB,
application/octet-stream
|
Details |
The parent detection code is overly optimistic in trying to find a parent, and finds itself in this._loggers, thus thinking that it has no parent closer to itself than root.
I've tested this manually and it works, and I'll also attach a unit test once I have the xulrunner SDK set up.
Attachment #350475 -
Flags: review?(thunder)
| Assignee | ||
Updated•17 years ago
|
Summary: log4moz updateParents messed up, doesn't support more than one level below root → log4moz updateParents messed up, doesn't support multilevel parenting properly
| Assignee | ||
Comment 1•17 years ago
|
||
One more bug fixed -- that really should hav been the other way round ;)
Unit tests now added, and they pass only with the patch applied.
thunder: are you the right person to ask for review?
Attachment #350475 -
Attachment is obsolete: true
Attachment #350979 -
Flags: review?(thunder)
Attachment #350475 -
Flags: review?(thunder)
Comment 2•17 years ago
|
||
I am, and thanks! I will review this today.
Comment 3•17 years ago
|
||
Looks good on the surface, though I will give it a more careful read later today.
One nit: use the name getter for the loggers, instead of the _name 'private' property.
Comment 4•17 years ago
|
||
Comment on attachment 350979 [details] [diff] [review]
Updated patch to fix one more bug, and now with shiny new unit tests
Great job on both bugs, and the tests. Thanks!
Do you have commit access?
Attachment #350979 -
Flags: review?(thunder) → review+
| Assignee | ||
Comment 5•17 years ago
|
||
Continuing r=thunder
Thanks for the review! No, I don't have commit access.
Attachment #350979 -
Attachment is obsolete: true
Attachment #351381 -
Flags: review+
| Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
| Assignee | ||
Comment 6•17 years ago
|
||
Comment 7•17 years ago
|
||
pushed
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Keywords: checkin-needed
Updated•17 years ago
|
Component: Weave → General
Product: Mozilla Labs → Weave
Target Milestone: -- → ---
Updated•17 years ago
|
QA Contact: weave → general
You need to log in
before you can comment on or make changes to this bug.
Description
•