{"action":"created","issue":{"url":"https://api.github.com/repos/Kademi/kademi-dev/issues/2587","repository_url":"https://api.github.com/repos/Kademi/kademi-dev","labels_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/2587/labels{/name}","comments_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/2587/comments","events_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/2587/events","html_url":"https://github.com/Kademi/kademi-dev/issues/2587","id":185795275,"number":2587,"title":"KSurvey to have JB fields for each survey question","user":{"login":"bradmac","id":826458,"avatar_url":"https://avatars.githubusercontent.com/u/826458?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmac","html_url":"https://github.com/bradmac","followers_url":"https://api.github.com/users/bradmac/followers","following_url":"https://api.github.com/users/bradmac/following{/other_user}","gists_url":"https://api.github.com/users/bradmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmac/subscriptions","organizations_url":"https://api.github.com/users/bradmac/orgs","repos_url":"https://api.github.com/users/bradmac/repos","events_url":"https://api.github.com/users/bradmac/events{/privacy}","received_events_url":"https://api.github.com/users/bradmac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"anhnt","id":735555,"avatar_url":"https://avatars.githubusercontent.com/u/735555?v=3","gravatar_id":"","url":"https://api.github.com/users/anhnt","html_url":"https://github.com/anhnt","followers_url":"https://api.github.com/users/anhnt/followers","following_url":"https://api.github.com/users/anhnt/following{/other_user}","gists_url":"https://api.github.com/users/anhnt/gists{/gist_id}","starred_url":"https://api.github.com/users/anhnt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhnt/subscriptions","organizations_url":"https://api.github.com/users/anhnt/orgs","repos_url":"https://api.github.com/users/anhnt/repos","events_url":"https://api.github.com/users/anhnt/events{/privacy}","received_events_url":"https://api.github.com/users/anhnt/received_events","type":"User","site_admin":false},"assignees":[{"login":"anhnt","id":735555,"avatar_url":"https://avatars.githubusercontent.com/u/735555?v=3","gravatar_id":"","url":"https://api.github.com/users/anhnt","html_url":"https://github.com/anhnt","followers_url":"https://api.github.com/users/anhnt/followers","following_url":"https://api.github.com/users/anhnt/following{/other_user}","gists_url":"https://api.github.com/users/anhnt/gists{/gist_id}","starred_url":"https://api.github.com/users/anhnt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhnt/subscriptions","organizations_url":"https://api.github.com/users/anhnt/orgs","repos_url":"https://api.github.com/users/anhnt/repos","events_url":"https://api.github.com/users/anhnt/events{/privacy}","received_events_url":"https://api.github.com/users/anhnt/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Kademi/kademi-dev/milestones/198","html_url":"https://github.com/Kademi/kademi-dev/milestones/Watford","labels_url":"https://api.github.com/repos/Kademi/kademi-dev/milestones/198/labels","id":1808720,"number":198,"title":"Watford","description":"","creator":{"login":"bradmac","id":826458,"avatar_url":"https://avatars.githubusercontent.com/u/826458?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmac","html_url":"https://github.com/bradmac","followers_url":"https://api.github.com/users/bradmac/followers","following_url":"https://api.github.com/users/bradmac/following{/other_user}","gists_url":"https://api.github.com/users/bradmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmac/subscriptions","organizations_url":"https://api.github.com/users/bradmac/orgs","repos_url":"https://api.github.com/users/bradmac/repos","events_url":"https://api.github.com/users/bradmac/events{/privacy}","received_events_url":"https://api.github.com/users/bradmac/received_events","type":"User","site_admin":false},"open_issues":63,"closed_issues":383,"state":"open","created_at":"2016-06-04T22:06:13Z","updated_at":"2016-11-02T08:54:36Z","due_on":"2016-09-02T00:00:00Z","closed_at":null},"comments":4,"created_at":"2016-10-27T22:23:31Z","updated_at":"2016-11-02T12:18:52Z","closed_at":null,"body":"- Show a list of fields for each question in each survey\n- Should support decisions based on survey responses. \n"},"comment":{"url":"https://api.github.com/repos/Kademi/kademi-dev/issues/comments/257848688","html_url":"https://github.com/Kademi/kademi-dev/issues/2587#issuecomment-257848688","issue_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/2587","id":257848688,"user":{"login":"anhnt","id":735555,"avatar_url":"https://avatars.githubusercontent.com/u/735555?v=3","gravatar_id":"","url":"https://api.github.com/users/anhnt","html_url":"https://github.com/anhnt","followers_url":"https://api.github.com/users/anhnt/followers","following_url":"https://api.github.com/users/anhnt/following{/other_user}","gists_url":"https://api.github.com/users/anhnt/gists{/gist_id}","starred_url":"https://api.github.com/users/anhnt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhnt/subscriptions","organizations_url":"https://api.github.com/users/anhnt/orgs","repos_url":"https://api.github.com/users/anhnt/repos","events_url":"https://api.github.com/users/anhnt/events{/privacy}","received_events_url":"https://api.github.com/users/anhnt/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T12:18:52Z","updated_at":"2016-11-02T12:18:52Z","body":"I got following exception so that multi choices Fields dont work. @bradmac  can you please check it?\r\n\r\n```\r\nINFO  io.milton.cloud.server.repoapps.ControllerMappingList  - evaluate: function(){\r\n                log.info ('callback function {}', arguments);\r\n                log.info ('question name {}', q.name);\r\n\r\n                var lead = arguments[0];\r\n                var profileId = lead.profile.name;\r\n\r\n                log.info(\"loadSurveyFields: profileid={}\", profileId);\r\n                return getKsurveyFields(profileId, q.name, surveyId, false);\r\n            }\r\nWARN  io.milton.cloud.server.repoapps.ControllerMappingList  - No such method: function(){\r\n                log.info ('callback function {}', arguments);\r\n                log.info ('question name {}', q.name);\r\n\r\n                var lead = arguments[0];\r\n                var profileId = lead.profile.name;\r\n\r\n                log.info(\"loadSurveyFields: profileid={}\", profileId);\r\n                return getKsurveyFields(profileId, q.name, surveyId, false);\r\n            }\r\njava.lang.NoSuchMethodException: No such function function(){\r\n                log.info ('callback function {}', arguments);\r\n                log.info ('question name {}', q.name);\r\n\r\n                var lead = arguments[0];\r\n                var profileId = lead.profile.name;\r\n\r\n                log.info(\"loadSurveyFields: profileid={}\", profileId);\r\n                return getKsurveyFields(profileId, q.name, surveyId, false);\r\n            }\r\n\tat jdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:204)\r\n\tat jdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:383)\r\n\tat jdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:190)\r\n\tat io.milton.cloud.server.repoapps.ControllerMappingList$RepoAppJourneyField.evaluate(ControllerMappingList.java:1847)\r\n\tat com.fuselms.apps.funnels.FunnelManager.findFieldValue(FunnelManager.java:782)\r\n\tat com.fuselms.apps.funnels.QueryBuilderExpression.findValue(QueryBuilderExpression.java:61)\r\n\tat com.fuselms.apps.funnels.QueryBuilderExpression.access$000(QueryBuilderExpression.java:32)\r\n\tat com.fuselms.apps.funnels.QueryBuilderExpression$Rule.evaluate(QueryBuilderExpression.java:395)\r\n\tat com.fuselms.apps.funnels.QueryBuilderExpression$Rules.evaluate(QueryBuilderExpression.java:309)\r\n\tat com.fuselms.apps.funnels.QueryBuilderExpression.evaluate(QueryBuilderExpression.java:52)\r\n\tat com.fuselms.apps.funnels.DecisionAction.onEnter(DecisionAction.java:104)\r\n\tat com.fuselms.apps.funnels.FunnelManager.nodeTransition(FunnelManager.java:598)\r\n\tat com.fuselms.apps.funnels.FunnelManager.createLead(FunnelManager.java:485)\r\n\tat com.fuselms.apps.funnels.FunnelManager.checkFunnel(FunnelManager.java:410)\r\n\tat com.fuselms.apps.funnels.FunnelManager.lambda$null$43(FunnelManager.java:365)\r\n\tat java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)\r\n\tat java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)\r\n\tat com.fuselms.apps.funnels.FunnelManager.lambda$onFunnelEvent$44(FunnelManager.java:359)\r\n\tat io.milton.cloud.util.SessionManagerUtils.executeInTransaction(SessionManagerUtils.java:156)\r\n\tat com.fuselms.apps.funnels.FunnelManager.onFunnelEvent(FunnelManager.java:357)\r\n\tat io.milton.cloud.server.repoapps.ControllerMappingList$EventWrapper.goalAchieved(ControllerMappingList.java:1437)\r\n\tat jdk.nashorn.internal.scripts.Script$Recompilation$1814$284AA$\\^eval\\_.submitSurvey(<eval>:111)\r\n\tat jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:644)\r\n\tat jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:228)\r\n\tat jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)\r\n\tat jdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:199)\r\n\tat jdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:383)\r\n\tat jdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:190)\r\n\tat io.milton.cloud.server.repoapps.ControllerResource.executeJs(ControllerResource.java:293)\r\n\tat io.milton.cloud.server.repoapps.ControllerResource.processForm(ControllerResource.java:144)\r\n\tat io.milton.http.http11.PostHandler.processExistingResource(PostHandler.java:85)\r\n\tat io.milton.http.ResourceHandlerHelper.processResource(ResourceHandlerHelper.java:187)\r\n\tat io.milton.http.http11.PostHandler.processResource(PostHandler.java:68)\r\n\tat io.milton.http.ResourceHandlerHelper.process(ResourceHandlerHelper.java:118)\r\n\tat io.milton.http.http11.PostHandler.process(PostHandler.java:62)\r\n\tat io.milton.http.StandardFilter.process(StandardFilter.java:50)\r\n\tat io.milton.http.FilterChain.process(FilterChain.java:40)\r\n\tat io.milton.cloud.server.db.utils.MiltonOpenSessionInViewFilter$1.execute(MiltonOpenSessionInViewFilter.java:41)\r\n\tat io.milton.context.RootContext.execute(RootContext.java:83)\r\n\tat io.milton.cloud.server.db.utils.MiltonOpenSessionInViewFilter.process(MiltonOpenSessionInViewFilter.java:34)\r\n\tat io.milton.http.FilterChain.process(FilterChain.java:40)\r\n\tat io.milton.http.HttpManager.process(HttpManager.java:158)\r\n\tat co.kademi.server.Kademi$1.service(Kademi.java:196)\r\n\tat org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224)\r\n\tat org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)\r\n\tat org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```"}}
{"actor":{"display_login":"anhnt"}}