Luca Cinquini created OODT-757:
----------------------------------
Summary: bug that prevents PGE to instantiate
AutoDetectProductCrawler
Key: OODT-757
URL: https://issues.apache.org/jira/browse/OODT-757
Project: OODT
Issue Type: Bug
Components: pge wrapper framework
Affects Versions: 0.7
Reporter: Luca Cinquini
Assignee: Luca Cinquini
Fix For: 0.8
I am trying to use PGE-based workflow to start an AutoDetectProductCrawler, and
it seems that the following line in PGETaskInstance always prevents this from
happening:
ProductCrawler crawler = null;
if (pgeMetadata.getMetadata(MIME_EXTRACTOR_REPO) != null &&
pgeMetadata.getMetadata(MIME_EXTRACTOR_REPO).equals("")){
crawler = new AutoDetectProductCrawler();
Should the condition be changed to:
....
&& !pgeMetadata.getMetadata(MIME_EXTRACTOR_REPO).equals(""))
....
?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)