On Tue, Feb 9, 2010 at 17:43, Sergiu Dumitriu <[email protected]> wrote: > On 02/08/2010 06:17 PM, Thomas Mortagne wrote: >> Hi devs, >> >> Currently when the reference does not contains any wiki name it's >> resolved using the wiki of the current document. >> >> Problem is that we generally use context wiki as the current wiki and >> references used to be resolved that way before the refactoring using >> official Resolver component. >> >> In many places we set the wiki we want to work on before doing a bunch >> of tasks: loading documents, executing queries etc... the problem is >> that when Current*ReferenceResolver is used you have to create some >> empty document and put it in the context just to set the wiki you want >> to work on. >> >> So i propose to change the behavior of all the >> Current*ReferenceResolver to get context wiki as default wiki name. >> >> Here is my +1 > > +1 > > Will it first try to use the current document, then the current wiki if > no current document exists?
No, as it's said in the title it's about using current database INSTEAD of current document database. > > -- > Sergiu Dumitriu > http://purl.org/net/sergiu/ > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

