{"action":"created","issue":{"url":"https://api.github.com/repos/webanno/webanno/issues/104","labels_url":"https://api.github.com/repos/webanno/webanno/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/webanno/webanno/issues/104/comments","events_url":"https://api.github.com/repos/webanno/webanno/issues/104/events","html_url":"https://github.com/webanno/webanno/issues/104","id":105457298,"number":104,"title":"Cannot edit coreference spans anymore","user":{"login":"reckart","id":1410238,"avatar_url":"https://avatars.githubusercontent.com/u/1410238?v=3","gravatar_id":"","url":"https://api.github.com/users/reckart","html_url":"https://github.com/reckart","followers_url":"https://api.github.com/users/reckart/followers","following_url":"https://api.github.com/users/reckart/following{/other_user}","gists_url":"https://api.github.com/users/reckart/gists{/gist_id}","starred_url":"https://api.github.com/users/reckart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reckart/subscriptions","organizations_url":"https://api.github.com/users/reckart/orgs","repos_url":"https://api.github.com/users/reckart/repos","events_url":"https://api.github.com/users/reckart/events{/privacy}","received_events_url":"https://api.github.com/users/reckart/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webanno/webanno/labels/Annotation","name":"Annotation","color":"ededed"},{"url":"https://api.github.com/repos/webanno/webanno/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/webanno/webanno/labels/regression","name":"regression","color":"f7c6c7"}],"state":"open","locked":false,"assignee":{"login":"seyyaw","id":1056051,"avatar_url":"https://avatars.githubusercontent.com/u/1056051?v=3","gravatar_id":"","url":"https://api.github.com/users/seyyaw","html_url":"https://github.com/seyyaw","followers_url":"https://api.github.com/users/seyyaw/followers","following_url":"https://api.github.com/users/seyyaw/following{/other_user}","gists_url":"https://api.github.com/users/seyyaw/gists{/gist_id}","starred_url":"https://api.github.com/users/seyyaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seyyaw/subscriptions","organizations_url":"https://api.github.com/users/seyyaw/orgs","repos_url":"https://api.github.com/users/seyyaw/repos","events_url":"https://api.github.com/users/seyyaw/events{/privacy}","received_events_url":"https://api.github.com/users/seyyaw/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/webanno/webanno/milestones/1","html_url":"https://github.com/webanno/webanno/milestones/3.0.0","labels_url":"https://api.github.com/repos/webanno/webanno/milestones/1/labels","id":1141640,"number":1,"title":"3.0.0","description":"","creator":{"login":"reckart","id":1410238,"avatar_url":"https://avatars.githubusercontent.com/u/1410238?v=3","gravatar_id":"","url":"https://api.github.com/users/reckart","html_url":"https://github.com/reckart","followers_url":"https://api.github.com/users/reckart/followers","following_url":"https://api.github.com/users/reckart/following{/other_user}","gists_url":"https://api.github.com/users/reckart/gists{/gist_id}","starred_url":"https://api.github.com/users/reckart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reckart/subscriptions","organizations_url":"https://api.github.com/users/reckart/orgs","repos_url":"https://api.github.com/users/reckart/repos","events_url":"https://api.github.com/users/reckart/events{/privacy}","received_events_url":"https://api.github.com/users/reckart/received_events","type":"User","site_admin":false},"open_issues":31,"closed_issues":38,"state":"open","created_at":"2015-05-31T10:52:24Z","updated_at":"2015-09-17T11:41:05Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-09-08T19:55:11Z","updated_at":"2015-09-17T12:08:13Z","closed_at":null,"body":"WebAnno 3.0.0-SNAPSHOT build 48e5db3877c1d7e28abf7d606bbfc5c4021f9622\r\n\r\nAfter the latest changes, double-clicking on a coreference span annotation to edit it results in the following exception:\r\n\r\n```\r\njavax.persistence.NoResultException: No entity found for query\r\n\tat org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:291)\r\n\tat de.tudarmstadt.ukp.clarin.webanno.api.dao.AnnotationServiceImpl.getLayer(AnnotationServiceImpl.java:262)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)\r\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)\r\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)\r\n\tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)\r\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\r\n\tat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)\r\n\tat com.sun.proxy.$Proxy39.getLayer(Unknown Source)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:480)\r\n\tat com.sun.proxy.$Proxy52.getLayer(Unknown Source)\r\n\tat de.tudarmstadt.ukp.clarin.webanno.brat.annotation.component.AnnotationDetailEditorPanel.setLayerAndFeatureModels(AnnotationDetailEditorPanel.java:850)\r\n\tat de.tudarmstadt.ukp.clarin.webanno.brat.annotation.component.AnnotationDetailEditorPanel.reloadLayer(AnnotationDetailEditorPanel.java:2034)\r\n\tat de.tudarmstadt.ukp.clarin.webanno.brat.annotation.BratAnnotator$1.respond(BratAnnotator.java:311)\r\n\tat org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:641)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)\r\n\tat org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)\r\n\tat org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:250)\r\n\tat org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:236)\r\n\tat org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)\r\n\tat org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)\r\n\tat org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)\r\n\tat org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)\r\n\tat org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)\r\n\tat org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)\r\n\tat org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)\r\n\tat org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147)\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:164)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat de.tudarmstadt.ukp.clarin.webanno.webapp.WebAnnoLoggingFilter.doFilter(WebAnnoLoggingFilter.java:52)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\r\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)\r\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\r\n\tat org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)\r\n\tat org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)\r\n\tat org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)\r\n\tat org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\r\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\r\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)\r\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)\r\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)\r\n\tat org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)\r\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\r\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)\r\n\tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)\r\n\tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)\r\n\tat org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```"},"comment":{"url":"https://api.github.com/repos/webanno/webanno/issues/comments/141057913","html_url":"https://github.com/webanno/webanno/issues/104#issuecomment-141057913","issue_url":"https://api.github.com/repos/webanno/webanno/issues/104","id":141057913,"user":{"login":"mmev","id":5416080,"avatar_url":"https://avatars.githubusercontent.com/u/5416080?v=3","gravatar_id":"","url":"https://api.github.com/users/mmev","html_url":"https://github.com/mmev","followers_url":"https://api.github.com/users/mmev/followers","following_url":"https://api.github.com/users/mmev/following{/other_user}","gists_url":"https://api.github.com/users/mmev/gists{/gist_id}","starred_url":"https://api.github.com/users/mmev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmev/subscriptions","organizations_url":"https://api.github.com/users/mmev/orgs","repos_url":"https://api.github.com/users/mmev/repos","events_url":"https://api.github.com/users/mmev/events{/privacy}","received_events_url":"https://api.github.com/users/mmev/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T12:08:13Z","updated_at":"2015-09-17T12:08:13Z","body":"Hm, as Coreference is a \"preset\" layer with a built-in feature on referenceRelation, I would recommend to allow setting this feature as default. Otherwise, the feature is there, but the user cannot use it.\r\n\r\nAt first glance, it is not obvious, that the behaviour as a linked list has anything to do with allowing to set the feature value or not allowing it. \r\n\r\nWhat is the difference between beeing a chain layer which behaves as a linked list and beeing a chain layer without this behaviour?"}}