You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Luca Cinquini (JIRA)" <ji...@apache.org> on 2014/10/07 18:14:33 UTC

[jira] [Closed] (OODT-757) bug that prevents PGE to instantiate AutoDetectProductCrawler

     [ https://issues.apache.org/jira/browse/OODT-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luca Cinquini closed OODT-757.
------------------------------
    Resolution: Fixed

Issue fixed after Chris confirmed it was a typo.

> 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)