You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oodt.apache.org by "Mattmann, Chris A (3980)" <ch...@jpl.nasa.gov> on 2014/10/06 20:33:07 UTC

Re: [jira] [Created] (OODT-757) bug that prevents PGE to instantiate AutoDetectProductCrawler

Yep thanks Luca it's a typo :)

Sent from my iPhone

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

Re: [jira] [Created] (OODT-757) bug that prevents PGE to instantiate AutoDetectProductCrawler

Posted by "Cinquini, Luca (398J)" <Lu...@jpl.nasa.gov>.
Thanks Chris, I will fix it then.
Luca

On Oct 6, 2014, at 12:33 PM, Mattmann, Chris A (3980) <ch...@jpl.nasa.gov> wrote:

> Yep thanks Luca it's a typo :)
> 
> Sent from my iPhone
> 
>> On Oct 6, 2014, at 8:10 PM, "Luca Cinquini (JIRA)" <ji...@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)