Consultor Eletrônico



Kbase P124627: DataSet passed as XML in Microsoft DiffGram format causes SAVE-CHANGES to ignore newly inserted reco
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   19/11/2007
Status: Verified

FACT(s) (Environment):

OpenEdge 10.1B

SYMPTOM(s):

Passing Datasets from .NET client to AppServer as XML strings

.NET client invokes GetChanges() to get new DataSet containing changes

DataSet returned from GetChanges() is converted to an XML string using Microsoft DiffGram format

Resulting XML string is passed to the AppServer

XML string is converted back to a ProDataSet on the AppServer side using READ-XMLSCHEMA and READ-XML

Resulting ProDataSet then has SAVE-CHANGES invoked for each record

Updated records and deleted records are processed correctly by SAVE-CHANGES

Newly inserted records are ignored by SAVE-CHANGES

CAUSE:

Bug# OE00153666

CAUSE:

READ-XML was not creating before-image records when the XML file contained only new records

FIX:

Upgrade to OpenEdge 10.1B03