0

I tried to create a domain subclass (different package) but migration plugin returned ambiguous class exception.

I tried creating a copy of that domain class (same package) but compiler returned duplicate class error.

How to override the AuditLogEvent class properly? Should I create a customized copy of that plugin?

Burt Beckwith
  • 75,342
  • 5
  • 143
  • 156
renz
  • 1,072
  • 3
  • 11
  • 21

1 Answers1

0

We're working on a bootstrap integration of the AuditLogEvent class, so everyone got it in their project instead of the plugin integrated one. You can create it from the source branch for testing:

https://github.com/robertoschwald/grails-audit-logging-plugin/tree/feature_1.x/externalizeALE1.x

When using this 1.0.6-SNAPSHOT version in your project, you must perform "grails audit-quickstart" to create the AuditLogEvent domain class in your project. It's registered in Config.groovy. See audit-test test application setup how it works.

Would be great if you can feedback in https://github.com/robertoschwald/grails-audit-logging-plugin/issues/13

Bertl
  • 605
  • 5
  • 10