Testing *DeletedEvents no longer works in Axon 1.3

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 (1.71 KB)

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

No worries. Thank you for the swift response!

'Sebastian

Hi Sebastian,

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

Cheers,

Allard

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