details: http://www.bx.psu.edu/hg/galaxy/rev/3c96ab27aa31 changeset: 3044:3c96ab27aa31 user: Greg Von Kuster <greg@bx.psu.edu> date: Tue Nov 17 13:31:56 2009 -0500 description: Fix a sqlalchemy session flush bug in the make_library_uploaded_dataset method. diffstat: lib/galaxy/web/controllers/library_common.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r 4c3cddd02b09 -r 3c96ab27aa31 lib/galaxy/web/controllers/library_common.py --- a/lib/galaxy/web/controllers/library_common.py Mon Nov 16 18:38:32 2009 -0500 +++ b/lib/galaxy/web/controllers/library_common.py Tue Nov 17 13:31:56 2009 -0500 @@ -117,7 +117,7 @@ uploaded_dataset.link_data_only = True uploaded_dataset.data.file_name = os.path.abspath( path ) trans.sa_session.add( uploaded_dataset.data ) - trans.sa_session.data.flush() + trans.sa_session.flush() return uploaded_dataset def get_server_dir_uploaded_datasets( self, trans, params, full_dir, import_dir_desc, library_bunch, err_redirect, msg ): files = []