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

Unpublish doesn't work in edit modal for relations field #6275

Open
sagdeev opened this issue May 9, 2024 · 0 comments
Open

Unpublish doesn't work in edit modal for relations field #6275

sagdeev opened this issue May 9, 2024 · 0 comments
Labels
[possible-bug] Possible bug which hasn't been reproduced yet

Comments

@sagdeev
Copy link
Contributor

sagdeev commented May 9, 2024

Link to reproduction

No response

Describe the Bug

Hi! I found two similar bugs:

  1. If you open the document editing via the relation field and publish the document, its state changes only after the page is refreshed
  2. If you click publish in the same window, nothing happens. Although in fact the confirmation window appears, but it is not visible

To Reproduce

  1. Create two draft models, for example Main and Nested
  2. In Main add relation field to Nested
  3. Create one doc in Main and Nested
  4. In Main doc add Nested doc to field
  5. Click to edit Nested doc from field. Should open edit view modal
  6. Try to publish/unpublish
Screen.Recording.2024-05-09.at.11.37.19.mov

Payload Version

2.16.1

Adapters and Plugins

No response

@sagdeev sagdeev added the [possible-bug] Possible bug which hasn't been reproduced yet label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[possible-bug] Possible bug which hasn't been reproduced yet
Projects
None yet
Development

No branches or pull requests

1 participant