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

[5.6.6]: Unable to remove parent inside of the entry #16691

Open
cookie10codes opened this issue Feb 13, 2025 · 7 comments
Open

[5.6.6]: Unable to remove parent inside of the entry #16691

cookie10codes opened this issue Feb 13, 2025 · 7 comments
Assignees
Labels

Comments

@cookie10codes
Copy link

What happened?

Description

When I'm trying to remove my parent inside of the entry from my structure. It keeps on getting back.

Steps to reproduce

  1. Attach entry as a child element
  2. Go to the entry
  3. Remove the parent
  4. Save
  5. The parent still shows

Expected behavior

Parent to be removed

Actual behavior

Parent is still attached

Craft CMS version

Craft Team 5.6.6

PHP version

8.3.2

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@i-just
Copy link
Contributor

i-just commented Feb 13, 2025

Hi, thanks for getting in touch! I’m not able to reproduce this. Do you see any errors in the console or in the logs when this happens?

@cookie10codes
Copy link
Author

No errors when it happens. When I remove the parent, I can see the XHR request to safe draft, which has no parentId set. But once saved, it shows the parent I remove again

@i-just
Copy link
Contributor

i-just commented Feb 13, 2025

Do you have any custom modules or plugins? If so, could you please turn on the safeMode and check if the issue persists?

@cookie10codes
Copy link
Author

I have set the safeMode on, but the issue still persists.

@i-just
Copy link
Contributor

i-just commented Feb 13, 2025

Could you please send your composer.json, composer.lock and database export to [email protected] and point out which entry you’re editing when this happens?

@cookie10codes
Copy link
Author

thanks Iwona, I've just reached out to support with the requested info

@i-just
Copy link
Contributor

i-just commented Feb 14, 2025

Thanks again for the files! I raised a PR for this.

@i-just i-just self-assigned this Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants