I have been able to resolve all the issues in the admin application [ merging the demo application + with the skeleton code based [ ecommerce.zip] and 1.5-M5-SNAPSHOT. The velocity exception comes only if I enable the logging to debug level. I think its non critical at this stage but would like to solve it as well.
I am able to bring the admin login console and log into it. There are three associated issues
1. On loading the CMS module does not load any thing in the tree structure
Code: Select all
[artifact:mvn] Hibernate: select count(*) as y0_ from BLC_LOCALE this_
[artifact:mvn] Hibernate: select count(adminpermi0_.ADMIN_PERMISSION_ID) as col_0_0_ from BLC_ADMIN_PERMISSION adminpermi0_ inner join BLC_ADMIN_PERMI
SSION_ENTITY qualifiede1_ on adminpermi0_.ADMIN_PERMISSION_ID=qualifiede1_.ADMIN_PERMISSION_ID inner join BLC_ADMIN_ROLE_PERMISSION_XREF allroles2_ on
adminpermi0_.ADMIN_PERMISSION_ID=allroles2_.ADMIN_PERMISSION_ID inner join BLC_ADMIN_ROLE adminrolei3_ on allroles2_.ADMIN_ROLE_ID=adminrolei3_.ADMIN
_ROLE_ID inner join BLC_ADMIN_USER_ROLE_XREF allusers4_ on adminrolei3_.ADMIN_ROLE_ID=allusers4_.ADMIN_ROLE_ID inner join BLC_ADMIN_USER adminuseri5_
on allusers4_.ADMIN_USER_ID=adminuseri5_.ADMIN_USER_ID left outer join BLC_ADMIN_USER_SANDBOX adminuseri5_1_ on adminuseri5_.ADMIN_USER_ID=adminuseri5
_1_.ADMIN_USER_ID where adminuseri5_.ADMIN_USER_ID=? and adminpermi0_.PERMISSION_TYPE=? and qualifiede1_.CEILING_ENTITY=? limit ?
[artifact:mvn] Hibernate: select adminuseri0_.ADMIN_USER_ID as ADMIN1_77_, adminuseri0_.EMAIL as EMAIL77_, adminuseri0_.LOGIN as LOGIN77_, adminuseri0
_.NAME as NAME77_, adminuseri0_.PASSWORD as PASSWORD77_, adminuseri0_1_.SANDBOX_ID as SANDBOX1_78_ from BLC_ADMIN_USER adminuseri0_ left outer join BL
C_ADMIN_USER_SANDBOX adminuseri0_1_ on adminuseri0_.ADMIN_USER_ID=adminuseri0_1_.ADMIN_USER_ID where adminuseri0_.LOGIN=?
[artifact:mvn] [ERROR] 12:55:23 PagesCustomPersistenceHandler - Unable to perform fetch for entity: org.broadleafcommerce.cms.page.domain.PageFolder
[artifact:mvn] java.lang.NullPointerException
[artifact:mvn] at org.broadleafcommerce.cms.admin.server.handler.PagesCustomPersistenceHandler.getSandBox(PagesCustomPersistenceHandler.java:84)
[artifact:mvn] at org.broadleafcommerce.cms.admin.server.handler.PagesCustomPersistenceHandler.fetch(PagesCustomPersistenceHandler.java:127)
[artifact:mvn] at org.broadleafcommerce.openadmin.server.service.persistence.PersistenceManagerImpl.fetch(PersistenceManagerImpl.java:219)
[artifact:mvn] at org.broadleafcommerce.openadmin.server.service.DynamicEntityRemoteService.fetch(DynamicEntityRemoteService.java:77)
[artifact:mvn] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[artifact:mvn] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[artifact:mvn] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[artifact:mvn] at java.lang.reflect.Method.invoke(Method.java:597)
[artifact:mvn] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
[artifact:mvn] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
[artifact:mvn] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
[artifact:mvn] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
[artifact:mvn] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
[artifact:mvn] at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:67)
[artifact:mvn] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
[artifact:mvn] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
[artifact:mvn] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
[artifact:mvn] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
[artifact:mvn] at $Proxy113.fetch(Unknown Source)
[artifact:mvn] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[artifact:mvn] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[artifact:mvn] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[artifact:mvn] at java.lang.reflect.Method.invoke(Method.java:597)
[artifact:mvn] at org.gwtwidgets.server.spring.GWTRPCServiceExporter.invokeMethodOnService(GWTRPCServiceExporter.java:169)
[artifact:mvn] at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:338)
[artifact:mvn] at org.broadleafcommerce.openadmin.security.CompatibleGWTSecuredRPCServiceExporter.processCall(CompatibleGWTSecuredRPCServiceExporter.
java:100)
[artifact:mvn] at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:243)
[artifact:mvn] at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
[artifact:mvn] at org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:407)
[artifact:mvn] at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49)
[artifact:mvn] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
[artifact:mvn] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
[artifact:mvn] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
[artifact:mvn] at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
[artifact:mvn] at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
[artifact:mvn] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
[artifact:mvn] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
[artifact:mvn] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
[artifact:mvn] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
[artifact:mvn] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
[artifact:mvn] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
[artifact:mvn] at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)
[artifact:mvn] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
[artifact:mvn] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
[artifact:mvn] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
[artifact:mvn] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
[artifact:mvn] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
[artifact:mvn] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
[artifact:mvn] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
[artifact:mvn] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
[artifact:mvn] at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.j
ava:119)
[artifact:mvn] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
[artifact:mvn] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilte
r.java:54)
[artifact:mvn] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
[artifact:mvn] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFil
ter.java:187)
[artifact:mvn] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
[artifact:mvn] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
[artifact:mvn] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
[artifact:mvn] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
[artifact:mvn] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
[artifact:mvn] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
[artifact:mvn] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
[artifact:mvn] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
[artifact:mvn] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
[artifact:mvn] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
[artifact:mvn] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
[artifact:mvn] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
[artifact:mvn] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
[artifact:mvn] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
[artifact:mvn] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
[artifact:mvn] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
[artifact:mvn] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[artifact:mvn] at org.mortbay.jetty.Server.handle(Server.java:326)
[artifact:mvn] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
[artifact:mvn] at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
[artifact:mvn] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
[artifact:mvn] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
[artifact:mvn] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[artifact:mvn] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
[artifact:mvn] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[artifact:mvn] [ WARN] 12:55:23 CompatibleGWTSecuredRPCServiceExporter - org.broadleafcommerce.openadmin.client.service.ServiceException: Unable to pe
rform fetch for entity: org.broadleafcommerce.cms.page.domain.PageFolder
2. There are media files associated to catalog and products, but they never show up on the admin console, when i choose any item and click on the media tab. This problem though is not associated to this merge, but I never was able to make this work [ even on previous version]
3. When on the merchandising module tab, clicking on the product tab throws the following error
Code: Select all
[artifact:mvn] Hibernate: select count(adminpermi0_.ADMIN_PERMISSION_ID) as col_0_0_ from BLC_ADMIN_PERMISSION adminpermi0_ inner join BLC_ADMIN_PERMISSION_ENTITY qualifiede1_ on adminpermi0_.ADMIN_PERMISSION_ID=qualifiede1_.ADMIN_PERMISSION_ID inner join BLC_ADMIN_ROLE_PERMISSION_XREF allroles2_ on
adminpermi0_.ADMIN_PERMISSION_ID=allroles2_.ADMIN_PERMISSION_ID inner join BLC_ADMIN_ROLE adminrolei3_ on allroles2_.ADMIN_ROLE_ID=adminrolei3_.ADMIN_ROLE_ID inner join BLC_ADMIN_USER_ROLE_XREF allusers4_ on adminrolei3_.ADMIN_ROLE_ID=allusers4_.ADMIN_ROLE_ID inner join BLC_ADMIN_USER adminuseri5_
on allusers4_.ADMIN_USER_ID=adminuseri5_.ADMIN_USER_ID left outer join BLC_ADMIN_USER_SANDBOX adminuseri5_1_ on adminuseri5_.ADMIN_USER_ID=adminuseri5
_1_.ADMIN_USER_ID where adminuseri5_.ADMIN_USER_ID=? and adminpermi0_.PERMISSION_TYPE=? and qualifiede1_.CEILING_ENTITY=? limit ?
[artifact:mvn] [ WARN] 18:33:06 CompatibleGWTSecuredRPCServiceExporter - org.broadleafcommerce.openadmin.client.service.ServiceException: Security Check Failed for entity operation: INSPECTAny pointers and help will me move ahead.
Regards
Om