[ 
http://jira.dspace.org/jira/browse/DS-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10897#action_10897
 ] 

Tim Donohue commented on DS-383:
--------------------------------

This issue was discussed in the DSpace Developer meeting on Dec 9, 2009.  The 
vote was that it needed more study:

[15:06] <jat_ysu> http://jira.dspace.org/jira/browse/DS-383 Auto commit 
functionalty not working courrectly in XMLUI
[15:08] <tdonohue> +0 further testing / verification? (anyone know about this 
or DS-353 which seems related)
[15:08] <mhwood> 0 important but no patch, needs study
[15:09] <mdiggory> reviewed this before... looking at notes
[15:10] <tdonohue> DS-383 Summary: +0 more testing needed (mdiggory feel free 
to add thoughts to issue)

> Auto commit functionality not working correctly in XMLUI
> --------------------------------------------------------
>
>                 Key: DS-383
>                 URL: http://jira.dspace.org/jira/browse/DS-383
>             Project: DSpace 1.x
>          Issue Type: Bug
>          Components: XMLUI
>    Affects Versions: 1.5.2
>            Reporter: Robin Taylor
>
> My understanding is that Dspace provides transactional processing by setting 
> the database connection to auto-commit=false and doing a 'commit' once all 
> processing has completed successfully. However, Manakin has a filter called  
> DSpaceCocoonServletFilter which contains the following code that runs after 
> the request has been passed on for further processing...
>    // Close out the DSpace context no matter what.
>         ContextUtil.closeContext(realRequest);
> This appears to run, commiting changes to the database, even if an Exception 
> is thrown in the main code.
> The code needs to be more intelligent and only do a commit to the database 
> where appropriate. The current catch-all approach causes problems in the 
> event of a failure and also prevents any sort of multiple items upload, eg 
> from a reference manager.

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

        

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to