cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@informatik.tu-darmstadt.de>
Subject Re: modular database actions and date format
Date Tue, 08 Apr 2003 19:56:24 GMT
Richard Moe wrote:
> Hi!
> 
> I am building an app with modular database actions, and most things work
> really nice, but I have problems inserting a date value (Oracle).
> 
> It seems like datemeta is unable to fetch the date from the input
> form. I suspect there might be something wrong with the way I have
> defined the SIST_ENDRET column.
> 
> The relevant field in my database.xml looks like this:
> 
> <value name="SIST_ENDRET" type="date">
>  <mode name="datemeta" type="all">
>  <parameter>fagbeskrivelse.SIST_ENDRET</parameter>
>  <input-module name="request-param"/>
>  </mode>
> </value>
> 
> Error message in sitemap:
> 
> DEBUG   (2003-04-08) 10:55.58:821   [sitemap.action.add-fagbeskrivelse] (/cocoon/mount/fagbeskrivelse/begrenset/ny.xsp)
Thread-16/DatabaseAction: Trying to set column fagbeskrivelse.SIST_ENDRET from datemeta using
getAttribute method
> DEBUG   (2003-04-08) 10:55.58:822   [sitemap.action.add-fagbeskrivelse] (/cocoon/mount/fagbeskrivelse/begrenset/ny.xsp)
Thread-16/DatabaseAction: Rolling back transaction. Caused by null
> 
> 
> I am using Cocoon 2.0.4, JDK 1.4.1, Tomcat 4.1.2 and Oracle 8.1.7
> 
> Any ideas?

Try again with 2.0.5-dev I believe there have been issues with this
that are solved in CVS.

	Chris.

-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message