Hi,

I have discovered the following weird Galaxy behaviour. If one sets

log_actions = True

in universe_wsgi.ini

and tries to display the Saved Histories, then the Saved histories don't show up.

The problem arises from ../lib/galaxy/web/framework/helpers/grids.py

line (around 230)

trans.log_action( trans.get_user(), unicode( "grid.view" ), context, params)

Until this line, the Query object 'query' has queried the DB and fetched the necessary data. Yet, in the file

../lib/galaxy/web/framework/__init__.py

in the function log_action

self.sa_session.flush()

seems to flush everything, including the data fetched by the 'query' object in grids.py

Thus, the Saved Histories get "No Items" message.

Commenting out the line

log_actions = True

does the job, but ...

Any suggestions?

Best regards

Nikolay

--
Nikolay Vazov, PhD
Research Computing Centre - http://hpc.uio.no
USIT, University of Oslo
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
 http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
 http://galaxyproject.org/search/mailinglists/

Reply via email to