[mapguide-trac] #442: Properties derived from MgNullableProperty
are not serializing the m_nbIsNull member data.
MapGuide Open Source
trac_mapguide at osgeo.org
Fri Feb 15 23:03:44 EST 2008
#442: Properties derived from MgNullableProperty are not serializing the
m_nbIsNull member data.
----------------------------+-----------------------------------------------
Reporter: brucedechant | Owner:
Type: defect | Status: new
Priority: high | Milestone: 2.0
Component: General | Version: 2.0.0
Severity: major | Keywords:
External_id: 1048866 |
----------------------------+-----------------------------------------------
All of the properties that are derived from MgNullableProperty are not
serializing the m_bIsNull member data and this causes any IsNull() API
check to always return "False" even for properties that are really NULL.
Example: (PHP code)
This code will always return "False" which would cause you to read data
from the reader that is invalid.
if($featureReader->IsNull($property))
{
$val = FormText::NullProperty;
}
else
{
$val = $featureReader->GetString($property);
}
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/442>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list