Closed
Bug 25629
Opened 25 years ago
Closed 25 years ago
[REGRESSION]Mac stores components as absolute paths
Categories
(Core :: XPCOM, defect, P1)
Core
XPCOM
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: dougt, Assigned: sdagley)
References
Details
(Whiteboard: [PDT+])
open up the component registry, and look at the file locations. all are
|abs:|.
Reporter | ||
Comment 1•25 years ago
|
||
This blocks the installer.
sdagley, I believe the problem is with your Contains() function.
Comment 2•25 years ago
|
||
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
Updated•25 years ago
|
Summary: Mac stores components as absolute paths → [DOGFOOD][REGRESSION]Mac stores components as absolute paths
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•25 years ago
|
||
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?
Assignee | ||
Comment 4•25 years ago
|
||
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.
Assignee | ||
Comment 5•25 years ago
|
||
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.
Reporter | ||
Comment 6•25 years ago
|
||
Robert, could you give us a hand?
Assignee | ||
Comment 7•25 years ago
|
||
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
Assignee | ||
Comment 8•25 years ago
|
||
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
Comment 10•25 years ago
|
||
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 → ---
Comment 11•25 years ago
|
||
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
Assignee | ||
Comment 12•25 years ago
|
||
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 ago → 25 years ago
Resolution: --- → FIXED
Comment 14•25 years ago
|
||
Marking Verified per last comments.
You need to log in
before you can comment on or make changes to this bug.
Description
•