dcorking / google-wave-resources

Automatically exported from code.google.com/p/google-wave-resources
0 stars 0 forks source link

wavelet.setTitle should bypass automated truncation #793

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This bug can be created manually:

1. Create a new wave by clicking the "New Wave" button in the ordinary Google 
Wave panel.

2. Enter the title: Koreas meet with U.N. over ship's sinking

3. Click done, and notice in the search list how the wave title gets truncated 
into: Koreas meet with U.N.

4. Choose edit on the root blip in the wave.

5. Replace the title with the new title: Yahoo! and Microsoft to launch 
Internet collaboration tool

6. Click done, and notice how the wave title now is truncated to: Yahoo!

It seems like wave titles are treated not just
as being the first text until end of line ('\n') but also are ended by other 
characters such as '.' and '!'.

This can be seen more concretely in the Robots API. For example, the following 
code will show how the wave titles get truncated:

def OnBlipSubmitted(event, wavelet):
    logging.info('Wave title: ' + wavelet.title)

Original issue reported on code.google.com by blabl...@gmail.com on 15 Jun 2010 at 5:31

GoogleCodeExporter commented 8 years ago
The current behavior for how titles are handled has been documented here:

   http://wave-api-faq.appspot.com/#wavetitles

This bug is being retitled to reflect the remaining issue that setTitle should 
not do truncation and should set the title using the whole string.

Original comment by joe.gregorio@gmail.com on 8 Jul 2010 at 12:40