BrowserUpdateTransformer can get into invalid state - must override recycle()
-----------------------------------------------------------------------------

         Key: COCOON-1788
         URL: http://issues.apache.org/jira/browse/COCOON-1788
     Project: Cocoon
        Type: Bug
  Components: Blocks: Ajax  
    Versions: 2.1.8, 2.2-dev (Current SVN)    
    Reporter: Eric Meyer
 Attachments: BrowserUpdateTransformer-recycle-patch.txt

If a form throws an exception during transformation (see 
https://issues.apache.org/jira/browse/COCOON-1785) then the 
BrowserUpdateTransformer gets into an invalid state, and futher request by any 
user or session that happens to use the invalid transformer receive the entire 
form document inside of the bu:document tag. The client side ajax javascript is 
then unable to process the resulting update.

The attached patch (license granted to ASF) overrides recycle() and fixes this 
problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to