FAQ

[Turbine-dev] Intake empty / Boolean fields behavior

Colin Chalmers
Aug 14, 2003 at 7:02 am
Hi Oron,

If you're going to try a nightly build I would suggest looking at 2.3. Amongst
other things it contains a number of patches for the IntakeService, specifically
the problem you're experiencing now.

HTH

Colin

-----Original Message-----
From: oron ogdan
Sent: Thursday, August 14, 2003 12:57 AM
To: turbine-dev@jakarta.apache.org
Subject: Intake empty / Boolean fields behavior


Hello

Using the turbine 2.2.1 nightly build / src of 13-8-2003, Field.java
setProperty is checking for isSet before setting the filed on the mapped
object
but for Boolean fields for example, or for empty String fields this would
not work,

Also found this in the code in line 410
...
// this definition of not set might need refined. But
// not sure the situation will arise.
if ( ss.length == 0 || (ss.length == 1 && ss[0].length() == 0) )
...

Anyone with a good patch / tip ?

Regards

Oron

www.netada.co.uk


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
reply

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 4 | next ›

2 users in discussion

Oron ogdan: 2 posts Colin Chalmers: 2 posts