Message:
The following issue has been reopened.
Reopener: Chris Holmes
Date: Fri, 20 Feb 2004 1:41 PM
No, this isn't a geotools thing. The reason it's not is because we were forced to fork for TransactionFeatureHandler. Ideally it should be done in geotools, but it's not, so we need to handle it. Eventually we can roll the changes into geotools, but this problem is major enough that we should handle it now. It's more than just strings as numbers, it's also nulls, like if someone wants to do an insert but leaves some blank. This needs to be fixed for 1.2.0 - if you don't want it I'm going to do it after I get locking working. It's fine if it don't work for beta.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-40
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GEOS-40
Summary: Strings handled as numbers on inserts
Type: Bug
Status: Reopened
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: GeoServer
Components:
Transactions/Locking
Fix Fors:
1.2.0
Versions:
1.1.0
Assignee: David Zwiers
Reporter: Thijs Brentjens
Created: Fri, 9 Jan 2004 7:04 AM
Updated: Fri, 20 Feb 2004 1:41 PM
Description:
An element that is declared as a string/varchar, but happens to have a numeric value, is treated as a number, not as a string. This can cause the database to refuse the value and thus the entire feature. The examples below illustrate this:
<OSECTION> w</OSECTION> : accepted, in stdout.log OSECTION= w
But:
<OSECTION> 1</OSECTION> : fails, in stdout.log: OSECTION=1.0
This should have been OSECTION= 1
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira