Opened 10 years ago

Closed 10 years ago

#916 closed defect (fixed)

Base1PluginExecuter commits transaction even in case of a failure

Reported by: nicklas Owned by: nicklas
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 Changed 10 years ago by nicklas

  • Owner changed from everyone to nicklas
  • Status changed from new to assigned

comment:2 Changed 10 years ago by nicklas

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Note: See TracTickets for help on using tickets.