Closed Bug 4557 Opened 26 years ago Closed 26 years ago

PlatformVersionCheck() can fail to recreate base reg keys

Categories

(Core :: XPCOM, defect, P2)

All
Windows NT
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: nicka, Assigned: dp)

Details

There is a section of code that looks like. // This gets run when we upgrade the reg ver # or we start from an empty rv = GetSubtree(Xpcom) if(NS_FAIL(rv)) return rv; RemoveSubTree(XpCom) AddSubtree(XpCom); The problem is that if the XpCom GetSubtree fails (because the reg is empty or incomplete) we exit out and won't nuke the Classes stuff or try to re-create the XpCon keys. Even if the GetSubtree fails, we should still try to re-create the base keys. The same goes for the Classes/CLSID stuff. This code looks like it's isolated to PlatformVersionCheck()
Status: NEW → RESOLVED
Closed: 26 years ago
Priority: P3 → P2
Resolution: --- → FIXED
Target Milestone: M4
More robust error checking implemented by Nick87@hotmail.com the person who filed this bug.
Component: XPCOM Registry → XPCOM
QA Contact: dp → xpcom
You need to log in before you can comment on or make changes to this bug.