Re: Reactors vs. db.rollback()
Nagy Gabor <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <20210824195829.0c966f98@fejer> |
Dear Ralf, OK. I did not consider this symptom as a bug either, in fact I was just curious if there is a nice/standard way to implement "hooks" (which do not alter the database). Regards, Gábor > On Fri, Aug 06, 2021 at 02:03:06AM +0200, Nagy Gabor wrote: > > However, I noticed that the reactor is called from > > db.incoming.create(), so the reactor runs before db.commit() is even > > invoked. > > Yes, this is a long-standing behaviour of Roundup. It can also happen > with the nosy reactor: If some other reactor throws an error *after* > the nosy reactor has sent the mail, the issue might still not be > created/modified. > > I wouldn't really call this a bug, it's just how the reactor interface > currently works. > > Ralf _______________________________________________ Roundup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/roundup-users