Closed
Bug 1142381
Opened 9 years ago
Closed 9 years ago
Symlinked apps in outoftree_apps folder throwing error
Categories
(Firefox OS Graveyard :: Gaia::Build, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kgrandon, Unassigned)
Details
Attachments
(1 file)
When symlinking apps into outoftree_apps folder I'm seeing the following error: Exception: [Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsILocalFile.lastModifiedTime]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> file:///Users/kevin/workspace/gaia/build/rebuild.js :: getTimestamp/</< :: line 19" data: no] getTimestamp/</<@resource://gre/modules/commonjs/toolkit/loader.js -> file:///Users/kevin/workspace/gaia/build/rebuild.js:19:8 getTimestamp/<@resource://gre/modules/commonjs/toolkit/loader.js -> file:///Users/kevin/workspace/gaia/build/rebuild.js:17:6 getTimestamp@resource://gre/modules/commonjs/toolkit/loader.js -> file:///Users/kevin/workspace/gaia/build/rebuild.js:12:2 exports.execute@resource://gre/modules/commonjs/toolkit/loader.js -> file:///Users/kevin/workspace/gaia/build/rebuild.js:89:16 exports.execute@resource://gre/modules/commonjs/toolkit/loader.js -> file:///Users/kevin/workspace/gaia/build/app.js:120:29 CommonjsRunner.prototype.run@/Users/kevin/workspace/gaia/build/xpcshell-commonjs.js:168:4 run@/Users/kevin/workspace/gaia/build/xpcshell-commonjs.js:183:2 @-e:1:0
Comment 1•9 years ago
|
||
Reporter | ||
Comment 2•9 years ago
|
||
Comment on attachment 8576422 [details] [review] [gaia] KevinGrandon:bug_1142381_symlinked_apps_fix > mozilla-b2g:master Ricky - I'm not really sure what's going on here, but for some reason my symlinked apps stopped working. This patch seems to fix it - is it something you'd be comfortable landing?
Attachment #8576422 -
Flags: review?(ricky060709)
Comment 3•9 years ago
|
||
Comment on attachment 8576422 [details] [review] [gaia] KevinGrandon:bug_1142381_symlinked_apps_fix > mozilla-b2g:master IIRC, I guess you create a symlink that links to an app but delete that app in your project folder so that cause such error. I'm fine to this fix. r=me Thanks!
Attachment #8576422 -
Flags: review?(ricky060709) → review+
Reporter | ||
Comment 4•9 years ago
|
||
Hmm, I'm not sure if I follow you. I'm not deleting anything, I just have a symlink to an app somewhere in my tree. I wonder if the file module does not return lastModifiedTime properly for a symlink? I'll go ahead and land this for now if you don't think it's going to cause any problems, and we can investigate further later. Thanks for the quick review.
Reporter | ||
Updated•9 years ago
|
Keywords: checkin-needed
Updated•9 years ago
|
Keywords: checkin-needed
Comment 5•9 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/f73a7dc52b662edd3d4490ca2d8300eff4838090
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Assignee: jeroentulp → nobody
You need to log in
before you can comment on or make changes to this bug.
Description
•