Red Hat Bugzilla – Bug 837999
search&replace should exclude obsolete documents
Last modified: 2013-02-25 22:46:27 EST
I can't seem to reproduce this error. Can you please add a screenshot of this error?
I am currently doing bug triage for some of the open bugs for Zanata. Will you be able to reproduce this bug in current production system? If not, are you happy to close this bug?
Thank you for your help,
Created attachment 640411 [details]
Hi I don't know how you decide obsolete docs or not..
but this POT/--- file isn't appeared on the document (if you build)
do you call it obsolete? you intend not to include those docs?
Zanata can't detect whether the POT file is still used by Publican, that's up to the project maintainer.
The document will only be obsolete, as far as Zanata is concerned, if the project maintainer deletes the POT and then pushes the source to Zanata (thus deleting/obsoleting the file in Zanata).
Fixed in 2.0 and 2.1.
Tested with Zanata version 2.0.3-SNAPSHOT (20121127-1451)
Project AboutFedora, version f13
If Search Scope set as "Search Both" and no translation, then search on "Fedora" returned nothing, which is incorrect.
Search Scope set as "Search Source" works normally though,
So "Search Both" is failing to search source documents? I don't think commit be10565e could be the reason, but it certainly sounds broken.
committed into release and master:
Tested with Zanata version 2.0.3-SNAPSHOT (20121128-1507)
The "Search Both" now returns duplicated docuemnts if you did the push multiple times.
For example, in AboutFedora project,
You can see the document pot/Revision_History (or Revision_History) repeat multiple times.
fixed again in release and master:
VERIFIED with Zanata version 2.0.3-SNAPSHOT (20121129-1430)
and Zanata version 2.1-SNAPSHOT (20121129-1444)