You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2015/04/24 13:25:39 UTC

[jira] [Updated] (ISIS-1138) Not able to use PropertyDomainEvents for custom value types (eg gmap3's Location)

     [ https://issues.apache.org/jira/browse/ISIS-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood updated ISIS-1138:
------------------------------
    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.


  was:
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.


> Not able to use PropertyDomainEvents for custom value types (eg gmap3's Location)
> ---------------------------------------------------------------------------------
>
>                 Key: ISIS-1138
>                 URL: https://issues.apache.org/jira/browse/ISIS-1138
>             Project: Isis
>          Issue Type: Bug
>          Components: Core: Viewer: Wicket
>    Affects Versions: core-1.8.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: 1.10.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)