Hi Scott,
I double check it after reverting my changes and the got the same error on
Order submit.(tested only from ecommerce).

ScreenFactory.java:128:INFO ] Got 4 screens in 0.117s from:
file:/Users/vikas/work/projects/ofbiz/applications/order/widget/ordermgr/OrderPrintScreens.xml
2008-07-15 09:54:34,815 (default-invoker-Thread-7) [
 ModelScreen.java:398:ERROR] Error rendering screen
[component://order/widget/ordermgr/OrderPrintScreens.xml#CompanyLogo]:
groovy.lang.MissingPropertyException: No such property: nowTimestamp for
class: CompanyHeader. Rolling back transaction.
2008-07-15 09:54:34,818 (default-invoker-Thread-7) [
 TransactionUtil.java:311:WARN ]
---- exception report
----------------------------------------------------------
[TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this
stack trace shows where this is happening:
Exception: java.lang.Exception
Message: Error rendering screen
[component://order/widget/ordermgr/OrderPrintScreens.xml#CompanyLogo]:
groovy.lang.MissingPropertyException: No such property: nowTimestamp for
class: CompanyHeader
---- stack trace
---------------------------------------------------------------
java.lang.Exception: Error rendering screen
[component://order/widget/ordermgr/OrderPrintScreens.xml#CompanyLogo]:
groovy.lang.MissingPropertyException: No such property: nowTimestamp for
class: CompanyHeader


For complete log please see the attached file.

BTW, I do not see nowTimestamp defined in groovy context.


Thanks,
Vikas

On Tue, Jul 15, 2008 at 1:25 AM, Scott Gray <[EMAIL PROTECTED]> wrote:

> Hi Vikas
>
> nowTimestamp should already be defined in the context, where were you
> seeing the problem?
>
> Thanks
> Scott
>
> 2008/7/15  <[EMAIL PROTECTED]>:
> > Author: mor
> > Date: Mon Jul 14 07:42:15 2008
> > New Revision: 676607
> >
> > URL: http://svn.apache.org/viewvc?rev=676607&view=rev
> > Log:
> > Fixed a small bug - I think introduced through bsh -> groovy conversion
> >
> > Modified:
> >
>  
> ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy
> >
> > Modified:
> ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy
> > URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy?rev=676607&r1=676606&r2=676607&view=diff
> >
> ==============================================================================
> > ---
> ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy
> (original)
> > +++
> ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy
> Mon Jul 14 07:42:15 2008
> > @@ -37,6 +37,7 @@
> >  returnId = parameters.returnId;
> >  quote = null;
> >  quoteId = parameters.quoteId;
> > +nowTimestamp = UtilDateTime.nowTimestamp();
> >  fromPartyId = parameters.fromPartyId;
> >
> >  if (!orderHeader && orderId) {
> >
> >
> >
>

Reply via email to