Login  Register

Re: myportal-> main error

Posted by dukian on Apr 16, 2009; 2:55pm
URL: http://ofbiz.116.s1.nabble.com/myportal-main-error-tp164923p164929.html

Thank you for your hints. It seems belong old issue ... Mar 15!

I'm newbie for OFBiz, just trace code/data to figure out. I'll read doc carefully next time. :-)


// Dukian

hansbak wrote
please read:
http://docs.ofbiz.org/display/OFBTECH/Revisions+Requiring+Data+Migration

this is all documented......

On Wed, 2009-04-15 at 23:17 -0700, dukian wrote:
> I got same problem several days ago.
>
> Compared "bad"(svn) and "good"(trunk), different data in the column
> screenLocation of table Portal_Porlet make exceptions thrown.
>
> My workarounds:
>
> 1. drop table Portlet_Portlet_Category, Portal_Page_Portlet,
> Portal_Page_Column, Portal_Page, Portlet_Category, Portlet_Attribute,
> Portal_Portlet.
>
> 2. stop ofbiz
>
> 3. ant run-install-seed
>
> and start ofbiz again. It works ...
>
>
> // Dukian
>
>
> BJ Freeman wrote:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Love the layout of smoothfeather.
> >
> > not sure if this is the layout of just code
> >
> >
> > Method public java.lang.String
> > org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String,java.lang.String)
> > throws
> > org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException
> > threw an exception when invoked on
> > org.ofbiz.widget.screen.ScreenRenderer@6770f2 with arguments of types
> > [java.lang.String,java.lang.String,] The problematic instruction:
> > - ---------- ==> ${screens.render(portlet.screenLocation,
> > portlet.screenName)} [on line 33, column 13 in
> > component://common/webcommon/portal/showPortalPage.ftl] ---------- Java
> > backtrace for programmers: ----------
> > freemarker.template.TemplateModelException: Method public
> > java.lang.String
> > org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String,java.lang.String)
> > throws
> > org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException
> > threw an exception when invoked on
> > org.ofbiz.widget.screen.ScreenRenderer@6770f2 with arguments of types
> > [java.lang.String,java.lang.String,] at
> > freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:134)
> > at
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.6 (MingW32)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iD8DBQFJ3nSArP3NbaWWqE4RAg4yAJ4iIcmR1zUol/Nsr5MyjVRmtagQdgCcDSr9
> > t8P3jauYx5eVJhex7TL07Xc=
> > =i2lq
> > -----END PGP SIGNATURE-----
> >
> >
>
--
Antwebsystems.com: Quality OFBiz services for competitive rates