wso2/enterprise-store — pull request #71 by splinter (2013-10-24 15:26:13+00:00)
Title: Fix for STORE-327, STORE-328 and STORE-231

The issue involved gadgets randomly disappearing from the store after seemingly random set of actions.

The cause of the issue was traced to a ThreadLocal variable which was not been unset properly in the JaggerySCXMLExecutor.

The fix involved doing an unset in a final clause.

The issue was reproduced by;
1. Setting the Tomcat thread count to max: 25 and min 5
2. Logging in as a user
3. Creating an asset
4. Promoting to the In-Review state
5. Clicking the Publish action approximately 25 times (25+)
6. Logging in as the admin
7. Promoting to the Published state
8. Logging in as the user who created to the store
9. Bookmarking the asset
10. This would cause the store to crash