Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

RemoteObject Bug

Avatar

Level 2
This is clearly a bug to me. I just thought I'd share it with
you guys in case you run over same issues.



I have a remoteObject call and all was good, the call was
making it to the J2EE application the data was coming back -
however they data was not as complete as I was expected. Only few
properties were coming over.



Only the properties that had both the getter and the setter
were coming over. That is a bug, there are cases when I need to get
data in a read only mode for example. I have navigate my data on a
page basis. So I get the data for a page(listing) the page object
would have size, itemsPerPage - there are readonly properties but
there were not coming over.



On the same note I wonder if the [Bindable] on the remote
class forces this behaviour.



After I implemented pseudo setters the data came over..



Please let me know what you thing!

Q



0 Replies