BitstreamReader.java will always close the database connection even if the bitstream is being pulled into the theme. --------------------------------------------------------------------------------------------------------------------
Key: DS-915 URL: https://jira.duraspace.org/browse/DS-915 Project: DSpace Issue Type: Bug Components: XMLUI Affects Versions: 1.7.1, 1.7.0 Reporter: Scott Phillips Assignee: Scott Phillips Fix For: 1.8.0 A bug that was fixed with DS-677 which fixed a problem where reading bitstreams left a database connection open with out explicitly closing it. This is a good thing, however a side effect of this was if the theme pulled in an XML-based bitstream into it's XSL for special case rendering the database connection would be closed on it. This patch adds a bit of logic in the bitstreamreader to check if a database connection is allready available for the request, before creating a new one. Then the reader will only close connections that it opened. If the connection was opened by the regular aspect pipeline then the aspects will close the connection. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://jira.duraspace.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel