Project: springxd
Issue XD-1976: Unable to deploy job in UI
This only happens when creating jobs via the CLI and deploying using the UI On the job page: http://localhost:9393/admin-ui/#/jobs/definitions I click [Deploy] for a Job and get a screen asking for Container Match Criteria and Job Module Count - clicking on the [Deploy] button on that screen does nothing - I see this error reported: Deploying Job Definition undefined angular.js:9778 TypeError: Cannot read property 'jobDefinition' of undefined at Scope.$scope.deployDefinition (http://localhost:9393/admin-ui/scripts/job/controllers/definition-deploy.js:52:78) at http://localhost:9393/admin-ui/lib/angular/angular.js:10567:21 at http://localhost:9393/admin-ui/lib/angular/angular.js:18627:17 at Scope.$eval (http://localhost:9393/admin-ui/lib/angular/angular.js:12412:28) at Scope.$apply (http://localhost:9393/admin-ui/lib/angular/angular.js:12510:23) at HTMLButtonElement. (http://localhost:9393/admin-ui/lib/angular/angular.js:18626:21) at HTMLButtonElement.jQuery.event.dispatch (http://localhost:9393/admin-ui/lib/jquery/jquery.js:5095:9) at HTMLButtonElement.elemData.handle (http://localhost:9393/admin-ui/lib/jquery/jquery.js:4766:46) angular.js:9778
Story points: 5