Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect collection displayed in list deletion toast #5966

Open
CherryDT opened this issue Apr 23, 2024 · 1 comment
Open

Incorrect collection displayed in list deletion toast #5966

CherryDT opened this issue Apr 23, 2024 · 1 comment
Assignees
Labels
[cant-reproduce] If an issue cannot be reproduced [possible-bug] Possible bug which hasn't been reproduced yet

Comments

@CherryDT
Copy link

Link to reproduction

No response

Describe the Bug

When deleting items from the list view, an incorrect collection name is displayed in the toast.

image

I'm on the articles list ("Artikel") but the toast talks about media files being deleted "1 Mediendatei erfolgreich gelöscht".

Note that the only link between articles and media files would be the image field which is a relationship to the media collection.

The articles collection has labels as follows (nothing related to media here):

  slug: 'articles',
  labels: {
    singular: {
      de: 'Artikel',
      en: 'Article'
    },
    plural: {
      de: 'Artikel',
      en: 'Articles'
    }
  },

To Reproduce

(I'm not sure if all of this is necessary.)

Create an article collection and a media collection. Add an upload field related to the media collection into the article collection. Make the whole thing with i18n in two languages. Delete an article from the list view.

Payload Version

2.12.1

Adapters and Plugins

db-mongodb, bundler-webpack

@CherryDT CherryDT added the [possible-bug] Possible bug which hasn't been reproduced yet label Apr 23, 2024
@JessChowdhury
Copy link
Member

Hi @CherryDT, please provide a minimal production of this issue. I have tried to recreate with a basic setup and have not been able to reproduce the incorrect toast message.

@JessChowdhury JessChowdhury added the [cant-reproduce] If an issue cannot be reproduced label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[cant-reproduce] If an issue cannot be reproduced [possible-bug] Possible bug which hasn't been reproduced yet
Projects
None yet
Development

No branches or pull requests

2 participants