- 
        1. Re: Feature suggestion/request: BatchCaller cancelcsa Sep 5, 2013 1:02 PM (in response to nva)1 of 1 people found this helpfulHi Valentin, Yes, that sounds like a good idea! Can you create a JIRA for it? If that's something you want to implement yourself and send a pull request it will be much appreciated! Cheers, Christian 
- 
        2. Re: Feature suggestion/request: BatchCaller cancelnva Sep 5, 2013 2:15 PM (in response to csa)Hi Christian, sounds good thanks. Will take a stab at implementing it. Is this the right JIRA: https://github.com/errai/errai/issues Cheers, V. 
- 
        
- 
        4. Re: Feature suggestion/request: BatchCaller cancelnva Sep 5, 2013 5:11 PM (in response to csa)Thanks! Created https://issues.jboss.org/browse/ERRAI-630. The patch is in testing, will send the git pull request when I figure out how to do it (I am a cvs and svn man ). 
- 
        5. Re: Feature suggestion/request: BatchCaller cancelcsa Sep 5, 2013 5:17 PM (in response to nva)Excellent! If you add a unit test or enhance an existing one, you can send the PR to the 2.4 branch. Then it will be in the next release. 
- 
        6. Re: Feature suggestion/request: BatchCaller cancelnva Sep 5, 2013 5:52 PM (in response to csa)I've added a test to BatchCallerIntegrationTest. It's somewhat of a naive one: am calling a service that has a built-in delay so that the cancel is issued before there can be a response. Then I assert that my callbacks have not been called. Am struggling a bit running the unit test: mvn -Dorg.jboss.errai.ioc.support.bus.tests.client.BatchCallerIntegrationTest -DskipTests=false clean test And tests are still skipped. Is there a trick? I did some end-to-end testing in my project and the cancel seems to behave as expected. However, the unit test must work. 
- 
        7. Re: Feature suggestion/request: BatchCaller cancelcsa Sep 5, 2013 5:55 PM (in response to nva)Ah yes, you will need to activate the integration-test profile: mvn -Pintegration-test clean test 
- 
        8. Re: Feature suggestion/request: BatchCaller cancelnva Sep 6, 2013 1:12 AM (in response to csa)Thanks. Just realised as I wrote the previous comment, the unit test doesn't cover the use case properly. The callbacks will not have been called, regardless whether the was a cancel or not: the RPC is not finished at that point. Need to think about it a bit more. 
- 
        9. Re: Feature suggestion/request: BatchCaller cancelnva Sep 6, 2013 4:44 AM (in response to nva)Ok, I have a really good-looking unit test now and it shows that the task is not as trivial as I thought. The power of unit tests. Will make future comments/ask questions on the JIRA ticket. 
 
    