oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mattmann, Chris A (3980)" <chris.a.mattm...@jpl.nasa.gov>
Subject Re: [jira] [Created] (OODT-757) bug that prevents PGE to instantiate AutoDetectProductCrawler
Date Mon, 06 Oct 2014 18:33:07 GMT
Yep thanks Luca it's a typo :)

Sent from my iPhone

> On Oct 6, 2014, at 8:10 PM, "Luca Cinquini (JIRA)" <jira@apache.org> wrote:
> 
> 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)

Mime
View raw message