I had the same with the portal data because loading seed does not remove
moved records.

I solved it by using the 
http://docs.ofbiz.org/display/OFBTECH/Revisions+Requiring+Data+Migration
document and note that some tables should be dropped and reloaded with
seed data for a particular revision.

perhaps we should do this here too?

Regards,
Hans


On Sat, 2009-04-18 at 23:09 -0600, David E Jones wrote:
> On a production server or even some staging servers that isn't really  
> an option...
> 
> For those running into this I'd recommend an "ant run-install-seed"  
> and then if there are issues track down and remove the offending data  
> (like the old VisualTheme and VisualThemeResource records with  
> visualThemeId=DEFAULT).
> 
> A nice tool to help with this is to compare data in the database with  
> data in readers, specifically the "seed" reader in this case. This can  
> be done on the "XML Data Import Readers" page in Webtools by checking  
> the box labeled "Check Data Only (nothing changed in database)"
> 
> -David
> 
> 
> On Apr 18, 2009, at 10:50 PM, Adrian Crum wrote:
> 
> >
> > There is a good chance there will be a problem if you don't do a  
> > clean first. Some of the themes have been moved around. If you don't  
> > do a clean, the the themes that were moved will have entities  
> > pointing to BOTH theme locations - which may generate these types of  
> > errors.
> >
> > -Adrian
> >
> >
> > --- On Sat, 4/18/09, David E Jones <[email protected]>  
> > wrote:
> >
> >> From: David E Jones <[email protected]>
> >> Subject: Re: theme errors at r766336
> >> To: [email protected]
> >> Cc: [email protected]
> >> Date: Saturday, April 18, 2009, 9:20 PM
> >> Doing a clean install shouldn't be required for this
> >> (but would definitely take care of it!), just reloading seed
> >> data should be enough (ie "ant run-install-seed").
> >>
> >> -David
> >>
> >> On Apr 18, 2009, at 10:09 PM, Ashish Vijaywargiya wrote:
> >>
> >>> I was getting the same error before 3 days or so.
> >>> I dropped the database and did clean installation.
> >> (ant clean && ant
> >>> run-install)
> >>>
> >>> Working fine for me now :-)
> >>> --
> >>> Ashish
> >>>
> >>> On Sat, Apr 18, 2009 at 8:52 PM, aswath narayana
> >> <[email protected]
> >>>> wrote:
> >>>
> >>>> Hello,
> >>>> I am at r766336.  All my screens give the
> >> following
> >>>>
> >>>> Error rendering included template at location
> >>>>
> >> [component://common/webcommon/includes/header.ftl]:
> >>>> java.lang.IllegalArgumentException: FreeMarker
> >> file not found at location:
> >>>> component://common/webcommon/includes/header.ftl
> >> Error rendering included
> >>>> template at location
> >> [component://common/webcommon/includes/appbar.ftl]:
> >>>> java.lang.IllegalArgumentException: FreeMarker
> >> file not found at location:
> >>>> component://common/webcommon/includes/appbar.ftl
> >>>>
> >>>> -Aswwath
> >>>>
> >
> >
> >
> 
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates

Reply via email to