[xwiki-devs] [xwiki-notifications] r7914 - xwiki-platform/xwiki-plugins/trunk/watchlist/src/main/java/com/xpn/xwiki/plugin/watchlist
Jean-Vincent Drean
jv at xwiki.com
Sun Feb 24 13:26:58 CET 2008
>
> This method looks like a duplicate of the code in the XWiki class. Why
> is that?
>
Yes this is a duplicate, the problem here is that WatchListJob gets a
wrapped context and getVirtualWikisDatabaseNames isn't accessible from
api.XWiki.
IMHO the underlying problem is that jobs don't get an unwrapped
context and it'll have to be fixed, I've prefered to duplicate this
method in the plugin instead of adding a new method to api.XWiki,
please tell me if I was wrong.
JV.
More information about the devs
mailing list