[
https://issues.apache.org/jira/browse/JUDDI-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907928#comment-13907928
]
ASF subversion and git services commented on JUDDI-848:
-------------------------------------------------------
Commit 8ecfc7ff4ee41a9965c00f54f9cebe436b1a0d58 in juddi's branch
refs/heads/master from alex
[ https://git-wip-us.apache.org/repos/asf?p=juddi.git;h=8ecfc7f ]
JUDDI-848 fixed
> Publish.SaveBinding throws up when passed an invalid key
> --------------------------------------------------------
>
> Key: JUDDI-848
> URL: https://issues.apache.org/jira/browse/JUDDI-848
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Affects Versions: 3.2
> Reporter: Alex O'Ree
> Assignee: Kurt T Stam
> Fix For: 3.2.1
>
>
> Pass a business entity key as the service key when saving a binding yields:
> org.apache.juddi.model.BusinessEntity cannot be cast to
> org.apache.juddi.model.BusinessService
> Caused by: java.lang.ClassCastException:
> org.apache.juddi.model.BusinessEntity cannot be cast to
> org.apache.juddi.model.
> BusinessService
> at
> org.apache.juddi.api.impl.UDDIPublicationImpl.setOperationalInfo(UDDIPublicationImpl.java:870)
> at
> org.apache.juddi.api.impl.UDDIPublicationImpl.saveBinding(UDDIPublicationImpl.java:540)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> this should be handled in a cleaner way
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)