Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Syclo - Replace client object in transaction making non key attributes null.

$
0
0

We have created an object Substation with a string propertyId as the  key. And have created a Edit type transaction for the Substation object with key property Id, with only update steps which will run for all data states.The transaction is configured such  that Java steplet mapped to the update step. And in the transaction step definition response to client is set as "Replace Client Object".In Java we have created the following java object which corresponds to the Substation object in Agentry.

The object attribute mapping/naming looks fine as the object fetch is happening properly.An Action is defined for object Substation, which has actin steps mapped to the edit transaction and apply step. On Edit button click the transaction screen opens and the user can edit the non key properties and save the values locally in the device.

 

In our test run we had edited the Name property to "TestSubstationEdited".

 

We have enabled debug on java side and did a transmit. We were able to view the data updated from client and returned a true from doSteplet() method.We then changed the object's Name property in getReturnData() as using debug and watch on the object we verified that the changed data is returned . On ATE the transmit information screen says Updating the object, Refreshing the object followed by Object Updated.

 

But when we verify in ATE list all the non key property of the object gets cleared and only the primary key is retained in the object/list.

 

 

Can someone please point out whether we are missing out any steps in achieving the same.

 

 

Regards,

Vivek

 

Tags edited by: Michael Appleby


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>