Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log changes to entities using a doctrine event #968

Merged
merged 1 commit into from
Aug 21, 2015

Conversation

jrjohnson
Copy link
Member

Any entity with changes which implements the LoggableEntityInterface will have changes logged by AuditLog

Fixes #934

I chickened out on writing tests for this. Partially because I couldn't figure out how.

@stopfstedt
Copy link
Member

👍

@@ -66,6 +68,7 @@ class Course implements CourseInterface
* max = 200
* )
*
* @Gedmo\Versioned
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't see this annotation being used elsewhere. leftover from some abandoned attempt, or legit?

Any entity with changes which implements the LoggableEntityInterface will have changes logged by AuditLog
stopfstedt added a commit that referenced this pull request Aug 21, 2015
Log changes to entities using a doctrine event
@stopfstedt stopfstedt merged commit e749489 into ilios:master Aug 21, 2015
@jrjohnson jrjohnson deleted the 934-auditlog branch August 26, 2015 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants