Hi,

>>> Are you sure about this?
> >>>
> >>> In the 2.2 branch we have:
> >>>
> >>>    /**
> >>>     * The component used to parse attachment references.
> >>>     */
> >>>    @Requirement("current")
> >>>    private AttachmentReferenceResolver attachmentReferenceResolver;
> >> My mistake. I removed the annotation in revision 26759. I wanted to
> >> remove only the hint (there's no current document for GWT-RPC requests)
> >> and it seems I removed the entire annotation..
> >>
> >> Asiri, thanks for catching this!
> >
>
> > In this case it's still wrong in the 2.2 branch right now....
>
> Theoretically yes, but the editor passes all the reference components on
> the request so there shouldn't be any null parts to be resolved. So any
> resolver should work. I removed the "current" hint just because it is
> misleading.
>

I'll remove it from 2.2 branch as well.

Thanks.

- Asiri
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to