Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-1028

auditing properties should support nested properties of documents

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Waiting for Feedback
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.13.1 (Ingalls SR1)
    • Fix Version/s: None
    • Component/s: Infrastructure
    • Labels:
    • Environment:
      spring boot 1.5.2

      Description

      Using @CreatedDate on a property that is nested within a document's property that is an object does not work.

      The problem seems to come mainly from DefaultAuditableBeanWrapperFactory.getBeanWrapperFor() and/or AnnotationAuditingMetadata.getMetadata() where only the entity class defined as a document will be scanned for auditing annotations.

      Supporting this feature would improve usability and allow for use cases where the auditing metadata is embedded within such a property.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              olivergierke Oliver Drotbohm
              Reporter:
              joelmarty Joël Marty
              Last updater:
              Oliver Drotbohm
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: