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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects: 10.xIssue impacts 10.x releasesaffects: mainIssue impacts "main" (latest release).bugcomponent: CommunityCommunity display or editinggood first issueThis is a smaller ticket/bug that may be easier for new contributorshelp wantedNeeds a volunteer to claim to move forward

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions