[ 
https://issues.apache.org/jira/browse/OLINGO-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15105376#comment-15105376
 ] 

Christian Amend commented on OLINGO-848:
----------------------------------------

Hi Frederik,

I agree with you. Unfortunately I am not very knowledgable with the client 
coding and especially with the proxy code. Yet it seems you have some knowledge 
about this and also know what would break your existing scenario. It would be 
awesome if you could contribute a patch file to fix this issue.
Here is a guide on how to contribute: http://olingo.apache.org/contribute.html 
If you run into troubles or have questions don`t hesitate to ask.
Or you can wait until someone else from the community picks this up.

Best Regards,
Christian

> Client-Proxy: getting a property of an entity flags the entity as changed
> -------------------------------------------------------------------------
>
>                 Key: OLINGO-848
>                 URL: https://issues.apache.org/jira/browse/OLINGO-848
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-ext
>    Affects Versions: (Java) V4 4.1.0
>            Reporter: Frederik Zimmer
>
> An entity is loaded and a getter is called on the entity. This results to a 
> call of getPropertyValue in AbstractStructuredInvocationHandler. When a value 
> is found, the value is cached and it is added to the list of property changes:
> if (res != null) {
> addPropertyChanges(name, res);
> propertyCache.put(name, res);
> }
> As a result EntityInvocationHandler.isChanged claims that the entity is 
> changed and a flush would try to update the entity on the server.
> Retrieving a property of an entity should not flag the entity as changed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to