Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-757

bug that prevents PGE to instantiate AutoDetectProductCrawler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.8
    • pge wrapper framework
    • 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(""))
      ....

      ?

      Attachments

        Activity

          People

            cinquini Luca Cinquini
            cinquini Luca Cinquini
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: