synchronoss / cpo-api

Class Persistence Object (CPO) Application Programming Interface (API).
GNU Lesser General Public License v2.1
3 stars 3 forks source link

ExecuteObjects with a result that is different than the crit #10

Closed berryware closed 4 years ago

berryware commented 10 years ago

Write a jUnit to prove it either way.

berryware commented 10 years ago

copying remaining bugs over from source forge. Assume this means that the execute objects is not working when the criteria object is not the same as the resulting object. Need to just write a jUnit to determine the truth.

berryware commented 4 years ago

I wrote the jUnit and it is in fact a bug. Because executes have in and out parameters and the out belongs to the result class, the out parameter is failing because the code is looking for it in the criteria class. So I will make sure that all out parameters are registered against the result class definition, and all in parameters are registered against the criteria objects. Any parameters that are BOTH in and out must exist in both the criteria and result object.

Thanks to whoever found this and sorry for taking so long to fix it.