[ https://issues.apache.org/jira/browse/CB-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13914879#comment-13914879 ]
ASF subversion and git services commented on CB-6123: ----------------------------------------------------- Commit 85f7ed9486a69d5c39eabbdf2ab504f3051d2e93 in cordova-plugman's branch refs/heads/master from [~jsoref] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=85f7ed9 ] CB-6123 Fix crash in handleUninstall introduces by recent action-stack refactoring github: close #56 > ActionStack.process calls module.exports.resource-file.uninstall with missing > argument > -------------------------------------------------------------------------------------- > > Key: CB-6123 > URL: https://issues.apache.org/jira/browse/CB-6123 > Project: Apache Cordova > Issue Type: Bug > Components: Plugman > Affects Versions: 3.4.0 > Reporter: Josh Soref > > mobilespec $ cordova plugin remove org.cordova.mobile-spec-dependencies > Uninstalling org.cordova.mobile-spec-dependencies from android > Uninstalling org.cordova.mobile-spec-dependencies from blackberry10 > Uninstalling 20 dangling dependent plugins. > Uninstalling org.apache.cordova.battery-status from ios > Uninstalling org.apache.cordova.camera from ios > Uninstalling org.apache.cordova.console from ios > Uninstalling org.apache.cordova.contacts from ios > Uninstalling org.apache.cordova.device from ios > Uninstalling org.apache.cordova.device-motion from ios > Uninstalling org.apache.cordova.device-orientation from ios > Uninstalling org.apache.cordova.dialogs from ios > Error during processing of action! Attempting to revert... > Uninstalling org.apache.cordova.file from ios > Uninstalling org.apache.cordova.media-capture from ios > Error during processing of action! Attempting to revert... > Error during reversion of action! We probably really messed up your project > now, sorry! D: > Uninstalling org.apache.cordova.file-transfer from ios > Uninstalling org.apache.cordova.geolocation from ios > Uninstalling org.apache.cordova.globalization from ios > Uninstalling org.apache.cordova.inappbrowser from ios > Uninstalling org.apache.cordova.media from ios > Uninstalling org.apache.cordova.network-information from ios > Uninstalling org.apache.cordova.splashscreen from ios > Uninstalling org.apache.cordova.vibration from ios > Uninstalling org.apache.cordova.test.whitelist from ios > Uninstalling org.apache.cordova.test.echo from ios > TypeError: Uh oh! > Cannot read property 'resources_dir' of undefined > at module.exports.resource-file.uninstall > (plugman/src/platforms/ios.js:116:48) > at Object.ActionStack.process (plugman/src/util/action-stack.js:46:25) > at handleUninstall (plugman/src/uninstall.js:186:20) > at plugman/src/uninstall.js:135:16 > at _fulfilled (q/q.js:798:54) > at Promise.then.self.promiseDispatch.done (q/q.js:827:30) > at Promise.promise.promiseDispatch (q/q.js:760:13) > at Promise.then.self.promiseDispatch.threw (q/q.js:821:14) > at flush (q/q.js:108:17) > at process._tickCallback (node.js:415:13) > process:function(platform, project_dir) { > require('../../plugman').emit('verbose', 'Beginning processing of > action stack for ' + platform + ' project...'); > var project_files; > // parse platform-specific project files once > if (platforms[platform].parseProjectFile) { > require('../../plugman').emit('verbose', 'Parsing ' + platform + > ' project files...'); > project_files = platforms[platform].parseProjectFile(project_dir); > } > while(this.stack.length) { > var action = this.stack.shift(); > var handler = action.handler.run; > var action_params = action.handler.params; > if (project_files) { > action_params.push(project_files); > } > try { > handler.apply(null, action_params); > > project_files > - Object > . pbx: "mobilespec/platforms/ios/mobilespec.xcodeproj/project.pbxp... > (length: 83)" > . plugins_dir: "mobilespec/platforms/ios/mobilespec/Plugins" > . resources_dir: "mobilespec/platforms/ios/mobilespec/Resources" > . write: function () { > . xcode: pbxProject > . xcode_path: "mobilespec/platforms/ios/mobilespec" > > action_params > - Array[3] > . 0: Element > . 1: "mobilespec/platforms/ios" > . 2: Object > . length: 3 -- This message was sent by Atlassian JIRA (v6.1.5#6160)