{"action":"opened","issue":{"url":"https://api.github.com/repos/jo-source/jo-client-platform/issues/46","repository_url":"https://api.github.com/repos/jo-source/jo-client-platform","labels_url":"https://api.github.com/repos/jo-source/jo-client-platform/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/jo-source/jo-client-platform/issues/46/comments","events_url":"https://api.github.com/repos/jo-source/jo-client-platform/issues/46/events","html_url":"https://github.com/jo-source/jo-client-platform/issues/46","id":164313381,"number":46,"title":"Class cast Exception when creating linked bean with IBeanValidator","user":{"login":"NielsBeuck","id":13524709,"avatar_url":"https://avatars.githubusercontent.com/u/13524709?v=3","gravatar_id":"","url":"https://api.github.com/users/NielsBeuck","html_url":"https://github.com/NielsBeuck","followers_url":"https://api.github.com/users/NielsBeuck/followers","following_url":"https://api.github.com/users/NielsBeuck/following{/other_user}","gists_url":"https://api.github.com/users/NielsBeuck/gists{/gist_id}","starred_url":"https://api.github.com/users/NielsBeuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NielsBeuck/subscriptions","organizations_url":"https://api.github.com/users/NielsBeuck/orgs","repos_url":"https://api.github.com/users/NielsBeuck/repos","events_url":"https://api.github.com/users/NielsBeuck/events{/privacy}","received_events_url":"https://api.github.com/users/NielsBeuck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-07T13:49:25Z","updated_at":"2016-07-07T13:49:25Z","closed_at":null,"body":"Given \r\n  two bean types with a 1:n link (does not occur with n:m links) \r\n  and an IBeanValidator on one of them,\r\nwhen \r\n  you create a bean via the TreeBrowser from a bean of the other type,\r\nthen \r\n  a ClassCast exception occurs: java.lang.ClassCastException: [Some custom class implementing IBeanValidator] cannot be cast to org.jowidgets.cap.ui.api.bean.IBeanPropertyValidator at org.jowidgets.cap.ui.impl.BeanProxyImpl.getDependendProperties(BeanProxyImpl.java:679)\r\n\r\nThe culprit seems to be line 172 of org.jowidgets.cap.ui.impl.LinkCreatorActionBuilderImpl\r\nwhere a type incompatibility is maske d by a cast.\r\n\r\n\r\n"}}
{"actor":{"display_login":"NielsBeuck"}}