Bug 837999
Summary: | search&replace should exclude obsolete documents | ||
---|---|---|---|
Product: | [Retired] Zanata | Reporter: | Mie Yamamoto <myamamot> |
Component: | Usability | Assignee: | Patrick Huang <pahuang> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ding-Yi Chen <dchen> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.6.1 | CC: | damason, mkim, myamamot, sflaniga, zanata-bugs |
Target Milestone: | --- | ||
Target Release: | 2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 2.0.3-SNAPSHOT (20121129-1430) | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-26 03:46:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Comment 1
Runa Bhattacharjee
2012-07-30 12:15:57 UTC
Hi Mie, 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, Michelle Created attachment 640411 [details]
S&R obsolete
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?
Regards,
Mie
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. See: https://github.com/zanata/zanata/commit/be10565eb13ad14681f74a75eca2131939ade388 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, Reassigned. 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: https://github.com/zanata/zanata/commit/9c39fe883674e5e9cbcf3ea966f354ee44ad411a 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. Reassigned. fixed again in release and master: https://github.com/zanata/zanata/commit/8196537f20974d1cd6f81771659b644c70748335 VERIFIED with Zanata version 2.0.3-SNAPSHOT (20121129-1430) and Zanata version 2.1-SNAPSHOT (20121129-1444) |