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

bug that prevents PGE to instantiate AutoDetectProductCrawler

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.8
    • Component/s: pge wrapper framework
    • Labels:
      None
    • Skill Level:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: