There was a circular reference in DemoTreeContent.xml
I guess it's a C/P error and I simply removed it. But in case not, I put here 
the related commit
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/data/DemoTreeContent.xml?view=markup&pathrev=745407

Fixed at r818150 in trunk and r818151 in R9.04

Jacques

From: "Jacques Le Roux" <[email protected]>
Hi Evan,

It's a bug

2009-09-20 18:09:39,312 (http-0.0.0.0-28443-3) [ RequestHandler.java:716:INFO ] Rendering View [WebSiteCMS], sessionId=1852E6579F77F8DB98FB1F75674FF73B.jvm1
2009-09-20 18:09:41,796 (http-0.0.0.0-28443-3) [ Log4JLoggerFactory.java:96 
:ERROR]

Method public org.ofbiz.entity.GenericValue org.ofbiz.entity.GenericValue.getRelatedOne(java.lang.String) throws org.ofbiz.entity.GenericEntityException threw an exception when invoked on [GenericEntity:Conte
ntAssoc][contentAssocPredicateId,null()][contentAssocTypeId,SUB_CONTENT(java.lang.String)][contentId,STORE_POLICIES(java.lang.String)][contentIdTo,STORE_POLICIES(java.lang.String)][createdByUserLogin,null()][
createdDate,null()][createdStamp,2009-08-13 11:02:19.238(java.sql.Timestamp)][createdTxStamp,2009-08-13 11:02:19.124(java.sql.Timestamp)][dataSourceId,null()][fromDate,2006-01-12 01:01:01.0(java.sql.Timestamp )][lastModifiedByUserLogin,null()][lastModifiedDate,null()][lastUpdatedStamp,2009-08-13 11:02:19.238(java.sql.Timestamp)][lastUpdatedTxStamp,2009-08-13 11:02:19.124(java.sql.Timestamp)][leftCoordinate,null()]
[mapKey,null()][sequenceNum,null()][thruDate,null()][upperCoordinate,null()]
The problematic instruction:
----------
==> assignment: thisContent=assoc.getRelatedOne("ToContent") [on line 348, column 9 in component://content/webapp/content/website/WebSiteCMSNav.ftl]
in user-directive fillTree [on line 353, column 17 in 
component://content/webapp/content/website/WebSiteCMSNav.ftl]


Could you please fill a Jira issue with the lines above as the reason and the 
bottom part of the log as an attachment file ?
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices

Thanks

Jacques

From: "Evan Fowler" <[email protected]>
Hi all,

Looking under WebStore' CMS in admin's Content/WebSites tabs, the
browser seems to crash when trying to run the scripts to load the CMS.
The exact error, when testing it in both Firefox and Safari, show a
script that has stopped responding and the CMS trees fail to load and
display.

I don't know if this is an older issue or not, but I noticed it when I
was examining how ecommerce manages it's CMS. My instincts tell me
that this is happening because of the large amount of data it is
managing in the UI, but it may be something else.

I was wondering if anyone knows what is causing this script error it
and why?

Thanks,

~Evan

Evan Fowler
Web Developer

Direct Phone: (425) 346-8022
Toll Free: 800-537-8816
Fax: 425-771-7166

www.mavericklabel.com
120 West Dayton Street
Edmonds, WA 98020-4180






Reply via email to