Foros de discusión

/api/jsonws/organization/update-organization/ fails

Michael Oliver, modificado hace 9 años.

/api/jsonws/organization/update-organization/ fails

Junior Member Mensajes: 66 Fecha de incorporación: 19/04/12 Mensajes recientes
I am trying to update an organization using the /api/jsonws/organization/update-organization/ and it is failing.


http://localhost:8080/api/jsonws/organization/update-organization/organization-id/12501/parent-organization-id/0/name/abcnew2a/type/regular-organization/recursable/true/region-id/0/country-id/0/status-id/12017/comments/updated+Through+Jsonws+again/site/false
resultJson = {"exception":"No User exists with the primary key 0"}


The user is the same user that created the organization also with /api/jsonws/ and that user is also an administrator in the organization to be updated.

log entries showing add organization with 200 status

127.0.0.1 - - [18/Jun/2014:23:56:08 +0000] "GET /api/jsonws/organization/add-organization/parent-organization-id/0/name/abcnew2/type/regular-organization/recursable/true/region-id/0/country-id/0/status-id/12017/comments/added+Through+Jsonws/site/false HTTP/1.1" 200 376


Do I need to raise a JIRA
Fabian Venetz, modificado hace 9 años.

RE: /api/jsonws/organization/update-organization/ fails

New Member Mensajes: 19 Fecha de incorporación: 8/02/12 Mensajes recientes
Hello Michael,

Did you receive any answer to your question ?

I've still the same problem in jsonws and with axis too.

Thx for your answer.
Michael Oliver, modificado hace 8 años.

Re: [Liferay Forums][Beta Testing] RE: /api/jsonws/organization/update-orga

Junior Member Mensajes: 66 Fecha de incorporación: 19/04/12 Mensajes recientes
No I did not.

Mike (MO) Oliver's iPhone
09479927462

> On Jan 3, 2015, at 4:23 PM, Fabian Venetz from liferay.com <forums@liferay.com> wrote:
>
> Hello Michael,
>
> Did you receive any answer to your question ?
>
> I've still the same problem in jsonws and with axis too.
>
> Thx for your answer.
>
>
> To view the thread, follow the link below:
> https://www.liferay.com/community/forums/-/message_boards/view_message/47259942
> --
> Liferay.com