Skip to content

/communities/create sends undefined request to the API #6168

Description

@MMilosz

Describe the bug

When creating a new top level Community, devtools show that the app sends the following undefined request to the server:

[server URL]/api/core/communities/undefined?embed=logo&embed=subcommunities&embed=collections&embed=parentCommunity

Issue discovered on both sandbox.dspace.org and demo.dspace.org

To Reproduce

  1. Log in as admin
  2. Open devtools, go to the network tab
  3. From the sidebar, select New > Community (or go directly to the /communities/create). Press the 'Create a new top-level community'
  4. Observe the undefined request sent to the backend

Expected behavior

No undefined request being send

Related work

Nothing found

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects: 10.xIssue impacts 10.x releasesaffects: mainIssue impacts "main" (latest release).bugneeds triageNew issue needs triage and/or scheduling

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions