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

Backend crashes when scaffolder actions are not build for the right Backstage (1.45) version

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      scaffolder plugins that have not updated to the latest scaffolder-node package (0.12.0) can cause the RHDH backend to fail to start, the log file will contain a message like:

      {code}
      Plugin 'scaffolder' threw an error during startup, waiting for 14 other plugins to finish before shutting down the process.
      TypeError: Cannot read properties of undefined (reading 'id')
          at BackendInitializer.cjs.js:262:72
      {code}

      This is occurs when a scaffolder backend module has not been updated and is still accessing the scaffolder extension point from the "alpha" export, which was removed in scaffolder-node version 0.12.0. To remedy the problem, ensure all scaffolder modules support backstage 1.45.x and that scaffolder modules have been updated to at least scaffolder-node version 0.12.0.
      Show
      scaffolder plugins that have not updated to the latest scaffolder-node package (0.12.0) can cause the RHDH backend to fail to start, the log file will contain a message like: {code} Plugin 'scaffolder' threw an error during startup, waiting for 14 other plugins to finish before shutting down the process. TypeError: Cannot read properties of undefined (reading 'id')     at BackendInitializer.cjs.js:262:72 {code} This is occurs when a scaffolder backend module has not been updated and is still accessing the scaffolder extension point from the "alpha" export, which was removed in scaffolder-node version 0.12.0. To remedy the problem, ensure all scaffolder modules support backstage 1.45.x and that scaffolder modules have been updated to at least scaffolder-node version 0.12.0.
    • Known Issue
    • RHDH Plugins 3286

      Description of problem:

      We noticed crashes of the Backstage backend if a scaffolder action is loaded that is not build for Backstage 1.45

      Plugin 'scaffolder' threw an error during startup, waiting for 14 other plugins to finish before shutting down the process.
      TypeError: Cannot read properties of undefined (reading 'id')
          at BackendInitializer.cjs.js:262:72
      

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      TODO !! Will work on a better example ...

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              stlewis_2 Stan Lewis
              cjerolim Christoph Jerolimov
              RHDH Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: