From: Anthony F. <an...@re...> - 2011-05-18 14:36:07
|
Thanks Wolfgang. Glad to hear you're having some success finding issues. It has to be frustrating getting these reports. I'll likely upgrade our app to the latest revision today so I'll be able to get this fix in and test it. On Wed, May 18, 2011 at 7:58 AM, Wolfgang Meier <wol...@ex...> wrote: > I managed to fix the move issue. It is quite logical once you know it. > NativeBroker.moveResource previously contained the following lines: > > doc.setFileURI(newName); > doc.setCollection(destination); > if (doc.getResourceType() == DocumentImpl.XML_FILE) { > if (!renameOnly) { > dropIndex(transaction, doc); > > Note that dropIndex is called *after* changing the collection on the > document to the target collection with doc.setCollection(destination). > Since (most) indexes are organized by collection, dropIndex will > search for the document in the wrong collection and thus not drop > anything! > > The problem is fixed by rev 14480: > > http://exist.svn.sourceforge.net/exist/?rev=14480&view=rev > > Wolfgang > > P.S.: the SVN trunk version has the same problem. > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |