Thanks Chris, I will fix it then.
Luca

On Oct 6, 2014, at 12:33 PM, Mattmann, Chris A (3980) 
<[email protected]> wrote:

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

Reply via email to