Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1138

Not able to use PropertyDomainEvents for custom value types (eg gmap3's Location)

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Abandoned
    • core-1.8.0
    • None
    • Viewer Wicket
    • None

    Description

      The issue is that the string representation of the object is not converted into its value type, and thus the constructor cannot be located.

      In particular, the code in IsisConverterLocator is not called.

      ~~~
      The workaround is to use a more general class as the event type (eg PropertyDomainEvent) and then do an instanceof in the subscriber.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment