Testing *DeletedEvents no longer works in Axon 1.3

24 views
Skip to first unread message

Sebastian Ganslandt

unread,
Feb 13, 2012, 6:29:03 AM2/13/12
to axonfr...@googlegroups.com
Hello,

I'm attaching (don't know if that works in a google group?) a small test case creating and deleting an aggregate root. The test is using a given-when-then fixture and is expecting an AggregateRootDeletedEvent when deleting the AR, but instead we are getting an exception saying that the AR was deleted : ).

The test is green when using Axon 1.2.

Best Regards
Sebastian


ARDeletedTest.tgz

Allard Buijze

unread,
Feb 13, 2012, 6:41:45 AM2/13/12
to axonfr...@googlegroups.com
Hi Sebastian,

thanks for reporting this! It seems that the illegal state change detection code isn't flexible enough. There is a few problems with that, at the moment.

I am working on these issues today, so I expect this one to be solved pretty quickly.

Sorry for the inconvenience.

Cheers,

Allard

Sebastian Ganslandt

unread,
Feb 13, 2012, 6:57:31 AM2/13/12
to Axon Framework Users
No worries. Thank you for the swift response!

'Sebastian

Allard Buijze

unread,
Feb 13, 2012, 10:14:26 AM2/13/12
to axonfr...@googlegroups.com
Hi Sebastian,

updating to Axon 1.3.1 should solve the problem. This issue was disruptive enough to do a quick release.

Cheers,

Allard

Sebastian Ganslandt

unread,
Feb 13, 2012, 2:34:01 PM2/13/12
to Axon Framework Users
Glad you think so. All tests are now once again green with 1.3.1.

Once again thank you for the swift respons and action.

Sebastian

On Feb 13, 4:14 pm, Allard Buijze <bui...@gmail.com> wrote:
> Hi Sebastian,
>
Reply all
Reply to author
Forward
0 new messages