backstage/backstage

The ImportStepper import owner group using display title value instead of the entity ref value

クローズ

#35,232 opened on 2026/08/18

 (8 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (5,277 件のフォーク)batch import
area:cataloggood first issuetype:bug

Repository metrics

Stars
 (26,101 個のスター)
PR merge metrics
 (PR metrics pending)

説明

📜 Issue Labels

  • Please familiarize yourself with the issue labels used in this project: LABELS.md

🔎 Search Terms

ImportStepper, display title, display name, Import

🗃️ Project Area

Catalog

🔗 External Integration

GitHub

📝 Description & Context

When I import a repo from GitHub using the built-in <ImportStepper /> component, the owner team I select have a space in the display value and that value is written to the catalog-info.yaml file in the PR that is created. I want the real value (entityRef) not the display value.

👍 Expected Behavior

Example I select a group with space in the name, e.g. "My Team" as the owner and that value is set as value for the owner, but i really want the value "my-team" which is the entityRef.

This was not a problem earlier (some months ago). This seem to be related to change e5af44c in the the @backstage/plugin-catalog-import@0.13.12.

📦 Reproduction Repo

No response

🥾 Reproduction steps

We are using the <ImportStepper /> component to import repos into the catalog. This component displays a button that starts the stepper.

  1. Click the "Import" button to start the ImportStepper.
  2. Select the repo and click the "Analyse" button.
  3. In the Owner filed, select a group from the list that have a space in the name. E.g. "My Team"
  4. Observe that the preview of the catalog-info file are displaying "My Team" as owner and not the entity ref that is/should be "my-team"

Have you read the Code of Conduct?

Are you willing to submit PR?

Undecided

コントリビューターガイド