In case the self-doc was not sent first by the handler, its udi was not recalculated, and it clobbered the last subdoc

This commit is contained in:
Jean-Francois Dockes
2019-06-16 13:46:00 +02:00
parent be214c4a5a
commit e38e58c37a
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -745,8 +745,8 @@ FsIndexer::processonefile(RclConfig *config,
}
} else {
hadNonNullIpath = true;
make_udi(fn, doc.ipath, udi);
}
make_udi(fn, doc.ipath, udi);
// Set file name, mod time and url if not done by
// filter. We used to set the top-level container file