Re: [Fornax-developer] Error when trying to publish DomainEvent in model

2010-07-28 Thread Patrik Nordwall
I realized that previous workaround suggestion doesn't work. Add the following to src/main/resources/templates/SpecialCases.xpt: «REM»Workaround for CSC-535«ENDREM» «AROUND templates::PubSub::publishAnnotation FOR Publish» «ENDAROUND» «REM»Workaround for CSC-535«ENDREM» «AROUND templates::Servi

Re: [Fornax-developer] Error when trying to publish DomainEvent in model

2010-07-28 Thread Patrik Nordwall
Thanks for reporting this bug. The intention was that it should not be necessary to define eventType when return type or parameter is a DomainEvent. A workaround until we fix the bug is to define the eventType excplicity: @EmployeeHired recordHire(DateTime occurred, @Employee employee) publis