Shared data/widget instances issue when migrating to 0.9.1
----------------------------------------------------------
Key: WOOKIE-243
URL: https://issues.apache.org/jira/browse/WOOKIE-243
Project: Wookie
Issue Type: Bug
Affects Versions: 0.9.1
Reporter: Scott Wilson
Priority: Blocker
Fix For: 0.9.1
When you upgrade Wookie from 0.9.0 to 0.9.1, shared data is no longer
associated with the original instances, largely due to fixes for the shared
data key algorithm (see WOOKIE-206).
To replicate:
1- Install Wookie 0.9.0 on Tomcat with MySQL
2- Instantiate a widget with shared data (e.g. ShareDraw) using defaults
("test","testuser","myshareddata"), and draw something
3- Shut down Tomcat
4- Install Wookie 0.9.1
5- Run the database migration script
6- Restart Tomcat
7- Instantiate as in Step 2.
The resulting widget instance is not the same.
The original data is still there, and retrieving the widget instance by using
the REST API with the original id_key works fine, e.g.:
http://localhost:8080/wookie/widgetinstances/G5M.sl.oijBzo.sl.ppuPoZNBgGgdBPfE.eq.?api_key=TEST
However the instantiation code will create a new widget, probably as the
processed API key will no longer match.
--
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