You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Barry Woods <ba...@bigpond.com> on 2013/01/19 05:01:05 UTC
Issue with @NotContributed annotation
Hi Dan,
I seem to have an issue with @NotContributed annotation being ignored. This
annotation is used for a method defined in an abstract class that is
inherited by several repository services and the method is still being
contributed by all of them.
I vaguely recall seeing an issue with this sometime ago in tha mailing list
but can't find it. I am currently still using 0.3.1-Incubating-snapshot
version.
Regards,
Barry Woods
Re: Issue with @NotContributed annotation
Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Hmm, not sure. I don't doubt it's happening, but I can't reproduce the
issue...
With the latest 1.0.1 quickstart archetype, I annotated
ToDoItems#similarTo(ToDoItem) with @NotContributed. The ToDoItems class is
the superclass of ToDoItemsJdo, which is the actual service that's
registered. What I saw was that the similarTo action was (correctly) not
contributed.
Could you see if you could work up a small example to reproduce the issue,
ideally based off the quickstart app 1.0.1. As you might have seen, I'm
asking people to create a small github repo as an example. If you do find
an issue, then raise a JIRA ticket and reference your github repo.
Thanks
Dan
On 19 January 2013 04:01, Barry Woods <ba...@bigpond.com> wrote:
> Hi Dan,
>
> I seem to have an issue with @NotContributed annotation being ignored.
> This
> annotation is used for a method defined in an abstract class that is
> inherited by several repository services and the method is still being
> contributed by all of them.
>
> I vaguely recall seeing an issue with this sometime ago in tha mailing list
> but can't find it. I am currently still using 0.3.1-Incubating-snapshot
> version.
>
> Regards,
>
> Barry Woods
>