Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10535

ReadOnlyModel value supplier needs to be serializable

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 4.2.0
    • 4.2.0
    • None
    • None

    Description

      The ReadOnlyModel stores a reference to a lambda supplier instance. This reference needs to be serializable and lambda's are not by default.

      Easy to fix by changing the supplier argument into a custom supplier interface that also extends Serializable.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abogaart Arthur Bogaart
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: