We finally figured out the issue, here is quick description
Problem:
Object Graph:
A -(1 - many) -- B -- (many to 1) -- C
Each of these object has a corresponding assembler with relationship
defined in data-management-config.xml. Say - AA, BA, CA
In UI, I have Corresponding DataServices say AS, BS (there is none for C
as C get fetched as part of B)
If There is a change made on object C, the change is not collected by AS
or BS (although they show commitRequired = true). Rollback on AS and BS
doesnt do anything.
Solution:
create a dummy* dataService corresponding to assembler CA and call
rollback on it.
Shailesh Mangal
Zephyr (World's first flex/LCDS based Test Management System)
Now, Test Management, is a breeze
--- In [email protected], "Shailesh Mangal"
<[EMAIL PROTECTED]> wrote:
>
> Wondering if anybody got similar issue or has any ideas why this might
> happen. We do have multiple dataServices corresponding to the same
> Assembler.
>
> -Shailesh
>
> --- In [email protected], "Shailesh Mangal"
> shailesh.mangal@ wrote:
> >
> > Hi,
> >
> > We are using LCDS 2.5.1 and just stumbled upon a weird scenario.
One
> > of dataServices, detects the objects change in the UI and flags the
> > commitRequired = true but the call to revertChanges doesnt do
> > anything. Object still has all the client change.
> > For a moment, we thought that it might be a stale object reference
> > somewhere. But then the commitRequired flag remains true event after
> > the rollback. Commit works successfully (even after the rollback).
> > Wondering if any one has faced the similar challenge. BTW, this
> > happens to one of our dataservice (out of more then 20 services).
> >
> > -Shailesh
> >
>