When updating an xwiki class object through the restful api the changes to the 
object do not seem to appear anywhere apart from when you view the object 
properties using the restful api. It seems as though the restful api is using a 
different copy of the object to the rest of xwiki.

I have uploaded an image that helps explain this problem 
http://imgur.com/Gk5yg.jpg

The top window shows the "successful_suppliers" field as seen through the 
restful api, where as the bottom two are the same object as seen through xwiki 
eclipse and through the object editor.

The object is firstly created using the restful api and appears correctly in 
xwiki, it is only after updating the object that the inconsistencies appear.

I have double checked and made sure that there is only one page and one object 
in the space with that name and so it would appear that I am viewing the same 
object but having different property values appear for it through the restful 
api than the rest of xwiki.

Is this a known problem? Is there anything that I should be doing after 
updating an object using the restful api to sync it with the rest of xwiki?

Thanks in advance,


Radek Rekas
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to