Friday, September 2, 2016

Re: Issue with request factory on 2.8


On Friday, September 2, 2016 at 4:07:07 PM UTC+2, Michael Wiles wrote:
I have observed some rather strange behaviour when using request factory on gwt 2.8-RC-2

It boils down to the wrong method being invoked...

I call method X on my client and the hash that is dispatched to the server is for method Y. It is rather weird because I have no idea how it is getting the hash for method Y. It is in the same request context as I am calling though...

Anyone else seen similar behaviour? I suspect it might be rather hard to make a test case for it and it is a bit of show stopper for me for upgrading to gwt 2.8 (which I love).

There haven't been many changes to either RF or AutoBeans since 2.7; could you maybe share:
  • the generated RequestFactory and RequestContext implementations for client-side (pass -gen to GWT and search for the files there),
  • DeobfuscatorBuilder for server-side (use the annotation processor instead of calling ValidationTool as a standalone tool)
  • sample code that produced the problem
  • associated request payload
That would at least help narrow down whether the issue is on the client (generator) or server (codegen or reflection)

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment