Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#192 closed defect (fixed)

Analysis plugins that adds data to an experiment can't commit if the experiment has been modified during the execution

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: blocker Milestone: BASE 2.0 RC2
Component: core Version:
Keywords: Cc:

Description

The problem is that we have to update the disk usage for the experiment before commiting the analysed data. This will cause an ItemModifiedException if the experiment has been modified during the execution of the plugin. It doesn't matter if we just have changed the title, or if another plugin has also added data.

The suggested solution is to reload the experiment information just before the commit takes place. An UPDATE query could work, but then we need to redesign how the quota checking is done.

Change History (3)

comment:1 by Nicklas Nordborg, 18 years ago

Status: newassigned

comment:2 by Nicklas Nordborg, 18 years ago

Resolution: fixed
Status: assignedclosed

(In [2194]) Fixes #192: Analysis plugins that adds data to an experiment can't commit if the experiment has been modified during the execution

comment:3 by Nicklas Nordborg, 18 years ago

Milestone: BASE 2.0BASE 2.0 RC2
Note: See TracTickets for help on using tickets.