Re: XPA 4.6 New Transaction Warning WP0266

Mike Bannon

Hi Steve


The behaviour hasn’t changed, you always needed to have a table defined to open a transaction – otherwise how would it know what database to open the transaction in? The only change here is that now it alerts you to it.



Mike Bannon

DataFormation Ltd., UK


From: [] On Behalf Of Steven Burrows
Sent: 25 November 2019 09:48
Subject: [magicu-l] XPA 4.6 New Transaction Warning WP0266


Looking at a 2.5 to 4.6 conversion and we are a little worried about a new warning in XPA 4.6


WP0266: The task is defined to open a transation but the transation will not be opened since no data source was defined.


We have a LOT of them, and in the vast majority of cases, its fine, the transaction is utterly unnecessary. However, in a many places, we have a task with no data that is specifically there so that we can run several sub tasks within the same transaction.

If this new behaviour that we will have to code around by defining tables from the correct databases, or is has this always been the case (our code not as safe as we thought!), and its just the warning that is new ?

It’s a bit of a major change that I cant find described in the Upgrade notes


Steven Burrows



Join to automatically receive all group messages.