Update wave from robot causes exception and corrupt WaveletInfo
---------------------------------------------------------------

                 Key: WAVE-339
                 URL: https://issues.apache.org/jira/browse/WAVE-339
             Project: Wave
          Issue Type: Bug
            Reporter: Andrew Kaplanov
            Assignee: Yuri Zelikov


1) Start Wiab server.
2) Register robot.
3) Subscribe robot to one of your waves.
4) Logout  from client.
5) Stop Wiab server. 
4) Make and run robot with following code:

String waveId = your existing wave

WaveService service = new WaveService();
service.setupOAuth(...);

Wavelet wavelet = service.fetchWavelet(WaveId.deserialise(waveId),
    WaveletId.of(DOMAIN, IdUtil.CONVERSATION_ROOT_WAVELET), URL);
wavelet.getRootBlip().append("something text");
service.submit(wavelet, URL);

5) Login from client and select wave. You will see an error "No conversations 
in this wave".
6) In the log file you will see an error "Expected deltas starting at version 
..., got ..."

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to