Hi Lionel.

confirmed and send PR.

Thank you
Santosh

On Thu, Nov 9, 2017 at 7:05 PM, Lionel Raymundi - Poincenot <
[email protected]> wrote:

> Done!
>
> https://issues.apache.org/jira/browse/FINERACT-552
>
> If you confirm me that the id of the newly created entity should be
> returned on "resourceId" we can try to fix it and create a PR
>
> Regards
>
> Lionel
>
>
> 2017-11-09 2:01 GMT-03:00 Santosh Math <[email protected]>:
>
> > Hi Lionel,
> >
> > Looks like this is issue. Will  you please create a ticket on this ?
> >
> > Thanks
> > Santosh
> >
> >
> >
> > On Thu, Nov 9, 2017 at 12:24 AM, Lionel Raymundi - Poincenot <
> > [email protected]> wrote:
> >
> > > Hi guys,
> > >
> > > I have just realized that after creating a new entry in a datatable,
> the
> > id
> > > of the new record is not returned. Returning the new entity's id is a
> > > common practice after any creation action.
> > >
> > > For example, for a new item created on a client datatable the response
> is
> > > this json:
> > >
> > >    1. clientId:852
> > >    2. officeId:1
> > >    3. resourceId:852
> > >
> > >  As you can see, both clientId and resourceId are the same and
> represent
> > > the id of the client for which I added the datatable record.
> > > You can try it on demo, by going to
> > > https://demo.openmf.org/#/viewclient/852?fromEntity=client and adding
> an
> > > entry to the FAMILY DETAILS data table
> > >
> > > Is this the expected behavior? Or the new entity id should be returned
> in
> > > "resourceId"?
> > >
> > >
> > > Regards
> > >
> > > Lionel
> > >
> >
>

Reply via email to