Opened 17 years ago
Closed 17 years ago
#442 closed defect (fixed)
Properties derived from MgNullableProperty are not serializing the m_nbIsNull member data.
Reported by: | brucedechant | Owned by: | brucedechant |
---|---|---|---|
Priority: | high | Milestone: | 2.0 |
Component: | General | Version: | 2.0.0 |
Severity: | major | Keywords: | |
Cc: | External ID: | 1048866 |
Description
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);
}
Change History (2)
comment:1 by , 17 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.