{"action":"closed","issue":{"url":"https://api.github.com/repos/lunactic/DIVAServices/issues/29","repository_url":"https://api.github.com/repos/lunactic/DIVAServices","labels_url":"https://api.github.com/repos/lunactic/DIVAServices/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/lunactic/DIVAServices/issues/29/comments","events_url":"https://api.github.com/repos/lunactic/DIVAServices/issues/29/events","html_url":"https://github.com/lunactic/DIVAServices/issues/29","id":162090198,"number":29,"title":"Server crashes on new publication try after previous error","user":{"login":"uzysset","id":2379295,"avatar_url":"https://avatars1.githubusercontent.com/u/2379295?v=3","gravatar_id":"","url":"https://api.github.com/users/uzysset","html_url":"https://github.com/uzysset","followers_url":"https://api.github.com/users/uzysset/followers","following_url":"https://api.github.com/users/uzysset/following{/other_user}","gists_url":"https://api.github.com/users/uzysset/gists{/gist_id}","starred_url":"https://api.github.com/users/uzysset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uzysset/subscriptions","organizations_url":"https://api.github.com/users/uzysset/orgs","repos_url":"https://api.github.com/users/uzysset/repos","events_url":"https://api.github.com/users/uzysset/events{/privacy}","received_events_url":"https://api.github.com/users/uzysset/received_events","type":"User","site_admin":false},"labels":[{"id":228440967,"url":"https://api.github.com/repos/lunactic/DIVAServices/labels/bug","name":"bug","color":"fc2929","default":true},{"id":228440970,"url":"https://api.github.com/repos/lunactic/DIVAServices/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"closed","locked":false,"assignee":{"login":"lunactic","id":3973381,"avatar_url":"https://avatars1.githubusercontent.com/u/3973381?v=3","gravatar_id":"","url":"https://api.github.com/users/lunactic","html_url":"https://github.com/lunactic","followers_url":"https://api.github.com/users/lunactic/followers","following_url":"https://api.github.com/users/lunactic/following{/other_user}","gists_url":"https://api.github.com/users/lunactic/gists{/gist_id}","starred_url":"https://api.github.com/users/lunactic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunactic/subscriptions","organizations_url":"https://api.github.com/users/lunactic/orgs","repos_url":"https://api.github.com/users/lunactic/repos","events_url":"https://api.github.com/users/lunactic/events{/privacy}","received_events_url":"https://api.github.com/users/lunactic/received_events","type":"User","site_admin":false},"assignees":[{"login":"lunactic","id":3973381,"avatar_url":"https://avatars1.githubusercontent.com/u/3973381?v=3","gravatar_id":"","url":"https://api.github.com/users/lunactic","html_url":"https://github.com/lunactic","followers_url":"https://api.github.com/users/lunactic/followers","following_url":"https://api.github.com/users/lunactic/following{/other_user}","gists_url":"https://api.github.com/users/lunactic/gists{/gist_id}","starred_url":"https://api.github.com/users/lunactic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunactic/subscriptions","organizations_url":"https://api.github.com/users/lunactic/orgs","repos_url":"https://api.github.com/users/lunactic/repos","events_url":"https://api.github.com/users/lunactic/events{/privacy}","received_events_url":"https://api.github.com/users/lunactic/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-06-24T07:18:58Z","updated_at":"2017-04-27T13:15:33Z","closed_at":"2017-04-27T13:15:33Z","body":"**Situation**:\n1. Publish (incorrect) Noising as user@divaunifr.ch\n2. Receive error\n3. Recover and alter file and inputparameter to the same as Canny Edge Detection\n4. Publish\n5. Server crash during validation\n\n**Error**:\n`TypeError: Cannot set property 'identifier' of undefined\n  at Function.module.exports.AlgorithmManagement.updateIdentifier (/home/lunactic/DEV/DIVAServices_Node/app/management/algorithmManagement.js:252:26)\n  at /home/lunactic/DEV/DIVAServices_Node/app/routes/algorithmRouter.js:73:33\n  at Object.schemaValidator.validate (/home/lunactic/DEV/DIVAServices_Node/app/validator/schemaValidator.js:24:14)\n  at /home/lunactic/DEV/DIVAServices_Node/app/routes/algorithmRouter.js:52:28\n  at Layer.handle [as handle_request] (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/layer.js:95:5)\n  at next (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/route.js:131:13)\n  at Route.dispatch (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/route.js:112:3)\n  at Layer.handle [as handle_request] (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/layer.js:95:5)\n  at /home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:277:22\n  at Function.process_params (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:330:12)\n  at next (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:271:10)\n  at Function.handle (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:176:3)\n  at router (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:46:12)\n  at Layer.handle [as handle_request] (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/layer.js:95:5)\n  at trim_prefix (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:312:13)\n  at /home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:280:7\n  at Function.process_params (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:330:12)\n  at next (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:271:10)\n  at /home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:618:15\n  at next (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:256:14)\n  at next (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/route.js:121:14)\n  at /home/lunactic/DEV/DIVAServices_Node/app/routes/standardRouter.js:166:14\n  at Layer.handle [as handle_request] (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/layer.js:95:5)\n  at next (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/route.js:131:13)\n  at Route.dispatch (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/route.js:112:3)\n  at Layer.handle [as handle_request] (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/layer.js:95:5)\n  at /home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:277:22\n  at param (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:349:14)\n  at param (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:365:14)\n  at Function.process_params (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:410:3)\n  at next (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:271:10)\n  at Function.handle (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:176:3)\n  at router (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:46:12)\n  at Layer.handle [as handle_request] (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/layer.js:95:5)\n  at trim_prefix (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:312:13)\n  at /home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:280:7\n  at Function.process_params (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:330:12)\n  at next (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:271:10)\n  at /home/lunactic/DEV/DIVAServices_Node/server.coffee:85:5\n  at Layer.handle [as handle_request] (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/layer.js:95:5)\n  at trim_prefix (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:312:13)\n  at /home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:280:7\n  at Function.process_params (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:330:12)\n  at next (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:271:10)\n  at logger (/home/lunactic/DEV/DIVAServices_Node/node_modules/morgan/index.js:144:5)\n  at Layer.handle [as handle_request] (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/layer.js:95:5)\n  at trim_prefix (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:312:13)\n  at /home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:280:7\n  at Function.process_params (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:330:12)\n  at next (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:271:10)\n  at favicon (/home/lunactic/DEV/DIVAServices_Node/node_modules/serve-favicon/index.js:72:7)\n  at Layer.handle [as handle_request] (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/layer.js:95:5)\n  at trim_prefix (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:312:13)\n  at /home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:280:7\n  at Function.process_params (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:330:12)\n  at next (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:271:10)\n  at Layer.handle [as handle_request] (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/layer.js:91:12)\n  at trim_prefix (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:312:13)\n  at /home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:280:7\n  at Function.process_params (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:330:12)\n  at next (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:271:10)\n  at urlencodedParser (/home/lunactic/DEV/DIVAServices_Node/node_modules/body-parser/lib/types/urlencoded.js:81:44)\n  at Layer.handle [as handle_request] (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/layer.js:95:5)\n  at trim_prefix (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:312:13)\n  at /home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:280:7\n  at Function.process_params (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:330:12)\n  at next (/home/lunactic/DEV/DIVAServices_Node/node_modules/express/lib/router/index.js:271:10)\n  at /home/lunactic/DEV/DIVAServices_Node/node_modules/body-parser/lib/read.js:129:5\n  at invokeCallback (/home/lunactic/DEV/DIVAServices_Node/node_modules/raw-body/index.js:262:16)\n  at done (/home/lunactic/DEV/DIVAServices_Node/node_modules/raw-body/index.js:251:7)\n  at IncomingMessage.onEnd (/home/lunactic/DEV/DIVAServices_Node/node_modules/raw-body/index.js:308:7)\n  at emitNone (events.js:67:13)\n  at IncomingMessage.emit (events.js:166:7)\n  at endReadableNT (_stream_readable.js:905:12)\n  at nextTickCallbackWith2Args (node.js:474:9)\n  at process._tickCallback (node.js:388:17)\n`\n"}}
{"actor":{"display_login":"lunactic"}}