Opened 16 years ago

Closed 16 years ago

#916 closed defect (fixed)

Base1PluginExecuter commits transaction even in case of a failure

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 2.6
Component: coreplugins Version:
Keywords: Cc:

Description

If there is an error during the execution of a BASE 1 plug-in using the Base1PluginExecuter some items may still be created. It seems like the plug-in has code like this:

finally
{
  if (dc != null)
  {
    dc.commit();
    dc.close();
  }
}

The finally part should only close the DbControl, not commit it.

Change History (2)

comment:1 by Nicklas Nordborg, 16 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 by Nicklas Nordborg, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [4121]) Fixes #916: Base1PluginExecuter commits transaction even in case of a failure

Note: See TracTickets for help on using tickets.