Re: Absolute Container List Problems - More information.
Richard Gate <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.template |
|---|---|
| Message-ID | <[email protected]> |
OK well that solves that problem. I still have issues with the pop ups when adding content to an absolute container list specified on the homepage. In the top right is ID of "" and the items to the left are not displayed correctly. Where "Section Link" should be the table cell is too small, cutting the text in half. This error goes away when I validate the pages through the work flow. I have described this problem better in my original message. Any ideas? Thanks, Richard. Cédric Mailleux wrote: > The exception listed here is only shown by hibernate in info mode, > this happen when we search if an object have is own workflow instance > or if it used its parent one if no instance found then you'll have > this trace, but this do not impact your jahia, it is expected to have > this exception and this one is correctly handled in this case. > > Richard Gate a écrit : >> I have added some debugging. It appears that the elements from the >> absolute container lists appear to display fine. I only get problems >> when using the engine. This only happens when I have no validated the >> new pages. Upon validating the pages the engine issues appear to go >> away but the following debugging information and exceptions can be >> seen when I click any of the Jahia HTML menus. >> >> Here are the statements before I get the problem: >> >> http-8080-Processor15] DefaultLoadEventListener, DEBUG, >> org.hibernate.event.def.DefaultLoadEventListener: loading entity: >> [org.jahia.hibernate.model.JahiaCtnDef#50] >> 2006-11-29 10:48:03,851: [http-8080-Processor15] >> DefaultLoadEventListener, DEBUG, >> org.hibernate.event.def.DefaultLoadEventListener: creating new proxy >> for entity >> 2006-11-29 10:48:03,866: [http-8080-Processor15] >> DefaultLoadEventListener, DEBUG, >> org.hibernate.event.def.DefaultLoadEventListener: loading entity: >> [org.jahia.hibernate.model.JahiaAcl#63] >> 2006-11-29 10:48:03,866: [http-8080-Processor15] >> DefaultLoadEventListener, DEBUG, >> org.hibernate.event.def.DefaultLoadEventListener: attempting to >> resolve: [org.jahia.hibernate.model.JahiaAcl#63] >> 2006-11-29 10:48:03,866: [http-8080-Processor15] >> DefaultLoadEventListener, DEBUG, >> org.hibernate.event.def.DefaultLoadEventListener: resolved object in >> second-level cache: [org.jahia.hibernate.model.JahiaAcl#63] >> 2006-11-29 10:48:03,866: [http-8080-Processor15] >> DefaultLoadEventListener, DEBUG, >> org.hibernate.event.def.DefaultLoadEventListener: Cached Version: null >> 2006-11-29 10:48:03,866: [http-8080-Processor15] >> DefaultLoadEventListener, DEBUG, >> org.hibernate.event.def.DefaultLoadEventListener: resolved object in >> second-level cache: [org.jahia.hibernate.model.JahiaAcl#63] >> 2006-11-29 10:48:03,866: [http-8080-Processor15] HTMLToolBox, DEBUG, >> org.jahia.gui.HTMLToolBox: beginAjaxMenu: >> org.jahia.data.beans.ContainerListBean@e914c8, null, false, >> jahiatemplates.Corporate_portal_templates_v2, null >> 2006-11-29 10:48:03,866: [http-8080-Processor15] HTMLToolBox, DEBUG, >> org.jahia.gui.HTMLToolBox: menuId is : >> ContentContainerList_--_14_--_50_--_1_--_7_--_null_--_false_--_-675377091_--_1546907509 >> >> 2006-11-29 10:48:03,913: [http-8080-Processor15] >> DefaultLoadEventListener, DEBUG, >> org.hibernate.event.def.DefaultLoadEventListener: loading entity: >> [org.jahia.hibernate.model.JahiaLink#694] >> 2006-11-29 10:48:03,929: [http-8080-Processor15] >> DefaultLoadEventListener, DEBUG, >> org.hibernate.event.def.DefaultLoadEventListener: attempting to >> resolve: [org.jahia.hibernate.model.JahiaLink#694] >> 2006-11-29 10:48:03,929: [http-8080-Processor15] >> DefaultLoadEventListener, DEBUG, >> org.hibernate.event.def.DefaultLoadEventListener: object not resolved >> in any cache: [org.jahia.hibernate.model.JahiaLink#694] >> 2006-11-29 10:48:03,944: [http-8080-Processor17] >> DefaultLoadEventListener, DEBUG, >> org.hibernate.event.def.DefaultLoadEventListener: loading entity: >> [org.jahia.hibernate.model.JahiaWorkflow#ContentContainerList_26] >> 2006-11-29 10:48:03,944: [http-8080-Processor17] >> DefaultLoadEventListener, DEBUG, >> org.hibernate.event.def.DefaultLoadEventListener: attempting to >> resolve: >> [org.jahia.hibernate.model.JahiaWorkflow#ContentContainerList_26] >> 2006-11-29 10:48:03,944: [http-8080-Processor17] >> DefaultLoadEventListener, DEBUG, >> org.hibernate.event.def.DefaultLoadEventListener: object not resolved >> in any cache: >> [org.jahia.hibernate.model.JahiaWorkflow#ContentContainerList_26] >> 2006-11-29 10:48:03,944: [http-8080-Processor17] >> DefaultLoadEventListener, INFO, >> org.hibernate.event.def.DefaultLoadEventListener: Error performing >> load command >> org.hibernate.ObjectNotFoundException: No row with the given >> identifier exists: >> [org.jahia.hibernate.model.JahiaWorkflow#ContentContainerList_26] >> at >> org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27) >> >> at >> org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:118) >> >> at >> org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:151) >> >> at >> org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:79) >> >> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:603) >> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:596) >> at >> org.springframework.orm.hibernate3.HibernateTemplate$3.doInHibernate(HibernateTemplate.java:425) >> >> at >> org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:312) >> >> at >> org.springframework.orm.hibernate3.HibernateTemplate.load(HibernateTemplate.java:419) >> >> at >> org.springframework.orm.hibernate3.HibernateTemplate.load(HibernateTemplate.java:414) >> >> at >> org.jahia.hibernate.dao.JahiaWorkflowDAO.findByPK(JahiaWorkflowDAO.java:48) >> >> at >> org.jahia.hibernate.manager.JahiaWorkflowManager.getWorkflowEntry(JahiaWorkflowManager.java:103) >> >> at >> org.jahia.hibernate.manager.JahiaWorkflowManager$$FastClassByCGLIB$$9a69c611.invoke(<generated>) >> >> at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) >> at >> org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661) >> >> at >> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) >> >> at >> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57) >> >> at >> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) >> >> at >> org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80) >> >> at >> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) >> >> at >> org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:546) >> >> at >> org.jahia.hibernate.manager.JahiaWorkflowManager$$EnhancerByCGLIB$$ff733c9c.getWorkflowEntry(<generated>) >> >> at >> org.jahia.services.workflow.WorkflowService.getDbEntry(WorkflowService.java:836) >> >> at >> org.jahia.services.workflow.WorkflowService.getWorkflowMode(WorkflowService.java:239) >> >> at >> org.jahia.services.workflow.WorkflowService.getLinkedContentObjects(WorkflowService.java:781) >> >> at >> org.jahia.services.workflow.WorkflowService.getLinkedContentObjects(WorkflowService.java:753) >> >> at >> org.jahia.services.workflow.WorkflowService.getLinkedContentObjects(WorkflowService.java:697) >> >> at >> org.jahia.services.workflow.WorkflowService.getLanguagesStates(WorkflowService.java:874) >> >> at >> org.jahia.services.workflow.WorkflowService.getLanguagesStates(WorkflowService.java:863) >> >> at >> org.jahia.services.workflow.WorkflowService$$FastClassByCGLIB$$4fc46a68.invoke(<generated>) >> >> at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) >> at >> org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661) >> >> at >> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) >> >> at >> org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80) >> >> at >> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) >> >> at >> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606) >> >> at >> org.jahia.services.workflow.WorkflowService$$EnhancerByCGLIB$$10ecde89.getLanguagesStates(<generated>) >> >> at >> org.jahia.ajax.actionmenus.GetWorkflowState.execute(GetWorkflowState.java:67) >> >> at >> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) >> >> at >> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) >> >> at >> org.jahia.bin.JahiaRequestProcessor.process(JahiaRequestProcessor.java:82) >> >> at >> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) >> at >> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) >> >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) >> >> at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:98) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) >> >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) >> >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) >> >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) >> >> at >> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) >> >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) >> >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) >> >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) >> >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) >> >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) >> >> at >> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) >> >> at >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) >> >> at >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) >> >> at >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) >> >> at java.lang.Thread.run(Thread.java:595) >> 2006-11-29 10:48:03,960: [http-8080-Processor15] Jahia, INFO, >> org.jahia.bin.Jahia: Processed [/jahia/Jahia/op/edit/pid/7] >> user=[root] ip=[127.0.0.1] in [1309ms] >> >> >> >> >> >> >> Richard Gate wrote: >>> Hi all, >>> >>> I have a homepage.jsp which declares four containers: >>> >>> A container for headers. >>> A container for the navigation "first level" links. >>> A footer links container. >>> A copyright container. >>> >>> The other templates want to display the header, footer, navigation >>> and copyright declared in the homepage. Where the navigation is >>> concerned: The homepage stores the first level links along with a >>> colour, whilst all other pages just contain a navigation list >>> container storing page references to direct children. >>> >>> The none homepage templates are having trouble displaying engines >>> for the homepage declared content. The content, including links etc >>> display ok proving that these other templates can see the homepage's >>> container lists. I run into problems when I use the jahia action >>> menu's on them. When I click the action menu I get a hibernate >>> ObjectNotFoundException. In addition when I bring up the engine for >>> a link for containerlist for example, the edit box is too short >>> obsecuring the fields inside. In addition the text at the top reads >>> ID of "" [0]. This is usually fixed when I use the workflow screen >>> to validate the changes but I am still getting problems else where >>> with the hibernate.objectnotfoundexception. >>> >>> My question... Does anyone know why this is happening? Why should >>> accessing a container declared on another template be a problem? Do >>> you need to "declare" the container on ALL the templates that >>> require to use it, or is this not required for absolute containers. >>> >>> Thanks, >>> >>> Richard. >>> >>> >>> >>> ___________________________________________________________________ >>> >>> Confidentiality: This e-mail and its attachments are intended for >>> the above named only and may be confidential. If they have come to >>> you in error you must take no action based on them, nor must you >>> copy or show them to anyone; please reply to this e-mail and >>> highlight the error. >>> >>> Security Warning: Please note that this e-mail has been created in >>> the knowledge that Internet e-mail is not a 100% secure >>> communications medium. We advise that you understand and observe >>> this lack of security when e-mailing us. >>> >>> Viruses: Although we have taken steps to ensure that this e-mail and >>> attachments are free from any virus, we advise that in keeping with >>> good computing practice the recipient should ensure they are >>> actually virus free. >>> >>> >>> ___________________________________________________________________ >>> >>> >>> >> > > > > > -- Richard Gate Developer Souk Digital A Souk Group Company. London Office 1st Floor, Shaftesbury House, 151 Shaftesbury Avenue, London WC2H 8AL Tel: +44 (0) 20 7420 7880 Nottingham Office High Pavement Business Centre, 3-5 High Pavement, The Lace Market, Nottingham. NG1 1HF Tel: +44 (0) 115 959 6455 Fax: +44 (0) 115 959 6456 www.soukdigital.com Confidentiality: This e-mail and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this e-mail and highlight the error. Security Warning: Please note that this e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. We advise that you understand and observe this lack of security when e-mailing us. Viruses: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. From - Thu Oct 19 11:47:14 2006 X-Account-Key: account2 X-UIDL: A"Z!!afc!!=8'#!7b'"! X-Mozilla-Status: 0009 X-Mozilla-Status2: 00000000 Return-Path: <developers-return-443-richard.gate=soukdigital.com@choosemcs.co.uk> Delivered-To: [email protected] Received: (qmail 7867 invoked by alias); 19 Oct 2006 10:42:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk X-No-Archive: yes Delivered-To: mailing list [email protected] Received: (qmail 7863 invoked from network); 19 Oct 2006 10:42:49 -0000 Message-ID: <[email protected]> Date: Thu, 19 Oct 2006 11:45:51 +0100 From: Nat Titman <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: [email protected] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [developers] Useful articles on accessibility and testing X-UIDL: A"Z!!afc!!=8'#!7b'"! Hi, A couple of useful articles. Accessibility for the Apathetic: http://www.hacknot.info/hacknot/action/showEntry?eid=69 Testing: http://www.hacknot.info/hacknot/action/showEntry?eid=68 Thanks, Nat. -- Nat Titman Senior Developer SOUK Digital A SOUK Group Company. http://www.soukdigital.com/ Nottingham Office High Pavement Business Centre, 3-5 High Pavement, The Lace Market, Nottingham. NG1 1HF Tel: +44 (0) 115 959 6455 Fax: +44 (0) 115 959 6456 Direct: +44 (0) 115 959 6462 London Office 1st Floor, Shaftesbury House, 151 Shaftesbury Avenue, London WC2H 8AL Tel: +44 (0) 20 7420 7880 Confidentiality: This e-mail and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this e-mail and highlight the error. Security Warning: Please note that this e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. We advise that you understand and observe this lack of security when e-mailing us. Viruses: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.