Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.7
-
None
-
Don't Know (Unsure) - The default level
Description
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(""))
....
?