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

InstantiationAwarePropertyAccessor loses state when updating multiple properties

    XMLWordPrintable

    Details

    • Sprint:
      2020.0.0 - Ockham M1

      Description

      When updating multiple properties through the same InstantiationAwarePropertyAccessor instance, then InstantiationAwarePropertyAccessor.getBean() returns the state where only the last property was set. All previous updates get lost.

      This is, because the inner PersistentPropertyAccessor holds the initial bean without being notified about the new instance that was created by InstantiationAwarePropertyAccessor.

        Attachments

          Activity

            People

            Assignee:
            mp911de Mark Paluch
            Reporter:
            mp911de Mark Paluch
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: