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

[4.x]: Cannot select self asset even the allow self relations setting is active #12769

Closed
aodihis opened this issue Mar 2, 2023 · 3 comments
Closed
Assignees

Comments

@aodihis
Copy link

aodihis commented Mar 2, 2023

What happened?

Description

I have asset volume that has an asset field inside it and I set to allow self relations to true. But when I click to an asset I cannot choose the same asset it self.

Steps to reproduce

  1. Create volume asset with asset field to allow select same volume with allow self relations to true.
  2. Add an asset.
  3. Click the asset and select the field to select same asset.

Expected behavior

Can select same asset.

Actual behavior

The same asset is disabled.

Craft CMS version

4.3.10

PHP version

No response

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 Mar 3, 2023

Hi, thanks for reporting! I created a PR to address this. It was also affecting Categories and Tags fields.

@brandonkelly
Copy link
Member

Fixed for the next Craft 3 and 4 releases via #12779.

@brandonkelly
Copy link
Member

Craft 3.7.68 and 4.3.11 are out with that fix.

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

No branches or pull requests

3 participants