Roundup Tracker - Issues


Author schlatterbeck
Recipients rouilj, schlatterbeck
Date 2017-11-03.10:29:23
Message-id <>
I can finally reproduce this. When I have a web action with a handle()
method like 

    def handle(self):
        cl = self.db.getclass(self.classname)
        cl.set(self.nodeid, status = self.db.status.lookup("feedback"))
        cl.set(self.nodeid, title = "Just a test")

and we have an auditor (or reactor) that prevents the title change with
a Reject exception, then the first change (setting the status) will be
committed. Note that the commit() in handle() is never reached because
the second set() call will raise Reject. Note that the two changes above
will not usually be for the same class (they could be combined into a
single set call which is what the web-interface does when changing
several values).
Next step is to try to come up with a regression test for this.
Date User Action Args
2017-11-03 10:29:25schlatterbecksetmessageid: <>
2017-11-03 10:29:25schlatterbecksetrecipients: + schlatterbeck, rouilj
2017-11-03 10:29:25schlatterbecklinkissue2550955 messages
2017-11-03 10:29:24schlatterbeckcreate