← Back to team overview

dhis2-devs team mailing list archive

Re: Org Unit Merge not working

 

Here is the log:

* INFO  2015-03-03 14:27:17,756 Delete was not allowed by
ReportTableDeletionHandler: ReportTable (DefaultDeletionManager.java
[http-bio-8080-exec-4])
* ERROR 2015-03-03 14:27:17,783 Error while executing action
(ExceptionInterceptor.java [http-bio-8080-exec-4])
org.hisp.dhis.common.DeleteNotAllowedException: ReportTable
        at org.hisp.dhis.system.deletion.DefaultDeletionManager.execute(
DefaultDeletionManager.java:109)
        at org.hisp.dhis.system.deletion.DeletionInterceptor.intercept(
DeletionInterceptor.java:54)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.
invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.
invokeAdviceMethod(AbstractAspectJAdvice.java:603)
        at org.springframework.aop.aspectj.AspectJMethodBeforeAdvice.before(
AspectJMethodBeforeAdvice.java:40)
        at org.springframework.aop.framework.adapter.
MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.
proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.
invoke(ExposeInvocationInterceptor.java:92)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.
proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.aop.framework.JdkDynamicAopProxy.
invoke(JdkDynamicAopProxy.java:207)
        at com.sun.proxy.$Proxy45.deleteOrganisationUnit(Unknown Source)
        at org.hisp.dhis.datamerge.DefaultDataMergeService.
mergeOrganisationUnits(DefaultDataMergeService.java:131)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.springframework.aop.support.AopUtils.
invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.
invokeJoinpoint(ReflectiveMethodInvocation.java:190)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.
proceed(ReflectiveMethodInvocation.java:157)
        at org.springframework.transaction.interceptor.
TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:
99)
        at org.springframework.transaction.interceptor.
TransactionAspectSupport.invokeWithinTransaction(
TransactionAspectSupport.java:281)
        at org.springframework.transaction.interceptor.
TransactionInterceptor.invoke(TransactionInterceptor.java:96)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.
proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.aop.framework.JdkDynamicAopProxy.
invoke(JdkDynamicAopProxy.java:207)
        at com.sun.proxy.$Proxy100.mergeOrganisationUnits(Unknown Source)
        at org.hisp.dhis.dataadmin.action.organisationunitmerge.
MergeOrganisationUnitsAction.execute(MergeOrganisationUnitsAction.java:96)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(
DefaultActionInvocation.java:450)
        at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(
DefaultActionInvocation.java:289)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:252)
        at org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.
intercept(XWorkPortalUserInterceptor.java:91)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:246)
        at org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.
intercept(XWorkPortalModuleInterceptor.java:92)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:246)
        at org.hisp.dhis.webportal.interceptor.XWorkPortalMenuInterceptor.
intercept(XWorkPortalMenuInterceptor.java:100)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:246)
        at org.hisp.dhis.webportal.interceptor.XWorkPortalParamsInterceptor.
intercept(XWorkPortalParamsInterceptor.java:150)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:246)
        at org.hisp.dhis.interceptor.ContextInterceptor.intercept(
ContextInterceptor.java:83)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:246)
        at org.hisp.dhis.interceptor.UserSettingInterceptor.intercept(
UserSettingInterceptor.java:84)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:246)
        at org.hisp.dhis.security.intercept.LoginInterceptor.
intercept(LoginInterceptor.java:85)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:246)
        at org.hisp.dhis.security.intercept.XWorkSecurityInterceptor.
intercept(XWorkSecurityInterceptor.java:116)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:246)
        at org.hisp.dhis.interceptor.SystemSettingInterceptor.intercept(
SystemSettingInterceptor.java:135)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:246)
        at org.hisp.dhis.interceptor.I18nInterceptor.intercept(
I18nInterceptor.java:139)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:246)
        at com.opensymphony.xwork2.interceptor.ParametersInterceptor.
doIntercept(ParametersInterceptor.java:254)
        at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.
intercept(MethodFilterInterceptor.java:98)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:246)
        at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.
intercept(StaticParametersInterceptor.java:191)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:246)
        at org.hisp.dhis.interceptor.ExceptionInterceptor.intercept(
ExceptionInterceptor.java:113)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:246)
        at org.apache.struts2.impl.StrutsActionProxy.execute(
StrutsActionProxy.java:54)
        at org.apache.struts2.dispatcher.Dispatcher.serviceAction(
Dispatcher.java:562)
        at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(
ExecuteOperations.java:77)
        at org.apache.struts2.dispatcher.ng.filter.
StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.
java:99)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:210)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at org.springframework.security.web.access.intercept.
FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
        at org.springframework.security.web.access.intercept.
FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.access.
ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.session.SessionManagementFilter.
doFilter(SessionManagementFilter.java:103)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.
AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.
java:113)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.servletapi.
SecurityContextHolderAwareRequestFilter.doFilter(
SecurityContextHolderAwareRequestFilter.java:154)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.savedrequest.
RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.www.
BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.
AbstractAuthenticationProcessingFilter.doFilter(
AbstractAuthenticationProcessingFilter.java:199)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.
AbstractAuthenticationProcessingFilter.doFilter(
AbstractAuthenticationProcessingFilter.java:199)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.hisp.dhis.security.filter.CustomAuthenticationFilter.
doFilter(CustomAuthenticationFilter.java:64)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.logout.
LogoutFilter.doFilter(LogoutFilter.java:110)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(
AutomaticAccessFilter.java:115)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.header.HeaderWriterFilter.
doFilterInternal(HeaderWriterFilter.java:57)
        at org.springframework.web.filter.OncePerRequestFilter.
doFilter(OncePerRequestFilter.java:107)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.request.async.
WebAsyncManagerIntegrationFilter.doFilterInternal(
WebAsyncManagerIntegrationFilter.java:50)
        at org.springframework.web.filter.OncePerRequestFilter.
doFilter(OncePerRequestFilter.java:107)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.
SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilt
er.java:87)
        at org.springframework.security.web.FilterChainProxy$
VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.FilterChainProxy.
doFilterInternal(FilterChainProxy.java:192)
        at org.springframework.security.web.FilterChainProxy.doFilter(
FilterChainProxy.java:160)
        at org.springframework.web.filter.DelegatingFilterProxy.
invokeDelegate(DelegatingFilterProxy.java:344)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(
DelegatingFilterProxy.java:261)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:210)
        at org.springframework.orm.hibernate4.support.
OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
        at org.springframework.web.filter.OncePerRequestFilter.
doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:210)
        at org.springframework.web.filter.CharacterEncodingFilter.
doFilterInternal(CharacterEncodingFilter.java:88)
        at org.springframework.web.filter.OncePerRequestFilter.
doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
AuthenticatorBase.java:472)
        at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:168)
        at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(
AccessLogValve.java:929)
        at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:407)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(
AbstractHttp11Processor.java:1002)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.
process(AbstractProtocol.java:585)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.
run(JIoEndpoint.java:310)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:722)

On Tue, Mar 3, 2015 at 10:55 AM, Knut Staring <knutst@xxxxxxxxx> wrote:

> We are having the same problem in Laos.
>
> On Mon, Mar 2, 2015 at 5:36 PM, Prosper BT <ptb3000@xxxxxxxxx> wrote:
>
>> Hi Team,
>>
>> Great work as always, I have been trying to use Org Unit merge starting
>> with version 2.16 to 2.18 and not been successful, I have just even tried
>> it on the demo server, but doesn't work on existing facilities apart from
>> when you create new Org Units and merge them.
>>
>> Is this a bug or for some reason the functionality was changed?
>>
>> Regards
>>
>>
>> --
>> Prosper Behumbiize, MPH
>> Phone:        +256 414 320076
>> Cell:             +256 772 139037
>>                      +256 752 751776
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>



-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org

References