Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#589 closed defect (fixed)

BioAssaySetExporter tries to commit changes on a closed DbControl

Reported by: Nicklas Nordborg Owned by: Johan Enell
Priority: blocker Milestone: BASE 2.3
Component: coreplugins Version:
Keywords: Cc:

Description (last modified by Nicklas Nordborg)

Trying to export a bioassayset in serial BASEfile format. After navigating through workarounds for tickets #586, #587, #588 I still get an error:

net.sf.basedb.core.ConnectionClosedException: The connection has been closed.
at net.sf.basedb.core.DbControl.commit(
at net.sf.basedb.core.PluginExecutionRequest.invoke(
at net.sf.basedb.core.InternalJobQueue$

It looks like exportBaseFileSerial() method closes the DbControl but the run() method expects it to be open and calls commit() later. I think the DbControl shouldn't be closes in the exportBaseFileSerial() method at all since it is not opened in this method.

Exporting in normal (matrix) formats works.

Change History (6)

comment:1 by Nicklas Nordborg, 17 years ago

Description: modified (diff)

comment:2 by Johan Enell, 17 years ago

Resolution: fixed
Status: newclosed

(In [3335]) fixes #589

comment:3 by Nicklas Nordborg, 17 years ago

Milestone: BASE 2.3.1BASE 2.3

comment:4 by base, 17 years ago

This also fixes a problem with B1PE and serial format export, so thanks for addressing the issue quickly!


comment:5 by Jari Häkkinen, 17 years ago

Milestone: BASE 2.3BASE 2.4

Milestone BASE 2.3 deleted

comment:6 by Jari Häkkinen, 17 years ago

Milestone: BASE 2.4BASE 2.3

Milestone BASE 2.4 deleted

Note: See TracTickets for help on using tickets.