Opened 17 years ago
Closed 17 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 , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
(In [4121]) Fixes #916: Base1PluginExecuter commits transaction even in case of a failure