Hi everyone,

It turns out that there were bugs in 0.9.0 when it came to generating 
SharedDataKey hashes (WOOKIE-206). 

This means that if you update to 0.9.1 (or trunk) all old widget instances will 
no longer be available when you use instance parameters to identify them (e.g. 
GET /widgetinstances?shareddatakey=key&userid=blah). You can, however, still 
get them using their idkey (e.g. GET /widgetinstances/312341341234) and they 
happily retain any data they had previously.

However, the connector framework uses instance parameters for getOrCreate which 
means most clients will see their data as being lost when the server is 
upgraded.

I've made an issue for this (WOOKIE-243).

Because of how these hashes are generated, there is no way we can update them 
automatically for 0.9.1.

So, how best to handle this?

1. We can retain the broken method for generating hashes from 0.9.0 as a 
"legacy mode" switchable in properties
2. Put a big warning on the release but go ahead anyway, and promise not to do 
anything so 
3. Bang head on keyboard repeatedly until a better idea comes up

(Another option that occurred to me is to try to process each inbound widget 
instance request using the old method, and if it matches, update it to use the 
new one. Again we could toggle this on/off.)

S

Reply via email to