Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2150

bulk-import scaffolder task exection fails to parse import location

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 1.9.0
    • 1.8.0
    • Bulk Import
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      = Bulk-import scaffolder task parses import locations correctly

      Before this update, the bulk-import scaffolder task failed to parse the import location causing errors to appear in the bulk-import log. With this update, the parsing logic is corrected. As a result, the task parses the import location correctly.
      Show
      = Bulk-import scaffolder task parses import locations correctly Before this update, the bulk-import scaffolder task failed to parse the import location causing errors to appear in the bulk-import log. With this update, the parsing logic is corrected. As a result, the task parses the import location correctly.
    • Bug Fix
    • Done
    • RHDH Plugins 3281

      bulk-import scaffolder task exection request works, but async operation to parse scaffolder location fails:

      ```
      2025-10-20T12:21:37.583Z bulk-import error ==== fetchEventSource failed document is not defined stack="ReferenceError: document is not defined\n    at <anonymous> (/Users/oandriie/projects/rhdh-plugins/workspaces/bulk-import/node_modules/@microsoft/fetch-event-source/src/fetch.ts:83:13)\n    at new Promise (<anonymous>)\n    at fetchEventSource (/Users/oandriie/projects/rhdh-plugins/workspaces/bulk-import/node_modules/@microsoft/fetch-event-source/src/fetch.ts:67:12)\n    at getEvents (/Users/oandriie/projects/rhdh-plugins/workspaces/bulk-import/plugins/bulk-import-backend/src/service/handlers/import/execute-template.ts:75:19)\n    at getEvents.next (<anonymous>)\n    at processTaskEvents (/Users/oandriie/projects/rhdh-plugins/workspaces/bulk-import/plugins/bulk-import-backend/src/service/handlers/import/execute-template.ts:136:22)\n    at createTaskImportJobs (/Users/oandriie/projects/rhdh-plugins/workspaces/bulk-import/plugins/bulk-import-backend/src/service/handlers/import/execute-template.ts:335:9)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async <anonymous> (/Users/oandriie/projects/rhdh-plugins/workspaces/bulk-import/plugins/bulk-import-backend/src/service/router.ts:416:24)\n    at async OpenAPIBackend.handleRequest (/Users/oandriie/projects/rhdh-plugins/workspaces/bulk-import/node_modules/openapi-backend/src/backend.ts:303:27)\n    at async <anonymous> (/Users/oandriie/projects/rhdh-plugins/workspaces/bulk-import/plugins/bulk-import-backend/src/service/router.ts:564:25)"
      ```

              oandriie Aleksander Andriienko
              oandriie Aleksander Andriienko
              RHDH Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: