Closed Bug 25629 Opened 25 years ago Closed 25 years ago

[REGRESSION]Mac stores components as absolute paths

Categories

(Core :: XPCOM, defect, P1)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dougt, Assigned: sdagley)

References

Details

(Whiteboard: [PDT+])

open up the component registry, and look at the file locations. all are |abs:|.
This blocks the installer. sdagley, I believe the problem is with your Contains() function.
Keywords: beta1
Priority: P3 → P1
Target Milestone: M14
Adding 25569 to the list of bugs that depend on this being resolved. Per dougt's investigation of the installer horkage this bug is a blocker for the Mac installer.
Blocks: 25569
Summary: Mac stores components as absolute paths → [DOGFOOD][REGRESSION]Mac stores components as absolute paths
Status: NEW → ASSIGNED
Actually I suspect the problem is in GetPath() rather than Contains() as one of the fixes I'm already working on is the distinction between the path and target. This brings up a more fundamental question: Where are these relative paths for the registry supposed to come from? You have to initialize nsLocalFile with an absolute path (or FSSpec on the Mac) and the only thing that you're going to get back from that is an absolute path. Or am I missing something here?
Ignore that last comment. dougt explained to me what he meant by a problem in the Contains() function so now the problem makes sense. I'll be looking at it once my build finishes.
Well I thought I had it fixed but before I could test my changes my spiffy new G4 crashed. Now it refuses to boot and it looks like I'm gonna have to reformat the @#$%^ hard drive.
Robert, could you give us a hand?
I don't think rjc could do much for us as the fix involves adding the additional FSSpec to distinguish between the resolved and target objects and without being familiar with the code that wouldn't be immediately obvious. In the AM I'll reformat and rebuild things and expect to be back to where I was today by early afternoon. BTW, I was talking to sfraser about the tests in Contains() and now I'm thinking we only need 2 tests - path of |this| against the path of |inFile| and only test against target if |inFIle| is a sym link
This is now working but doesn't have the revisions to Contains() to exhaustively evaluate all possible path and target combinations
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Putting on PDT+ radar for beta1.
Whiteboard: [PDT+]
Due to last sdagley comments, does not seem like this is Resolved completely yet. If it is, please indicate as so.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Moving [DOGFOOD} in Summary to "dogfood" in keyword field.
Keywords: dogfood
Summary: [DOGFOOD][REGRESSION]Mac stores components as absolute paths → [REGRESSION]Mac stores components as absolute paths
It's fixed. The functionality of Contains() could be improved, on all platforms, but it is no longer causing a problem on Mac.
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
Marking Verified per last comments.
Status: RESOLVED → VERIFIED
Marking Verified per last comments.
You need to log in before you can comment on or make changes to this bug.