-
Notifications
You must be signed in to change notification settings - Fork 110
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
[Bug]: createAsset mutation fails when tags id specified #807
Comments
The issue only occurs when tag As a workaround - I updated line 74 within ElementTagTrait.php as follows:
|
Hey @natted, thank you for raising an issue for this. We would be happy about a PR. $tag = Tag::getById((int)$tag_input['id']); Thank you and cheers! |
@kingjia90 should we close this as the linked PR is merged? |
Fixed by #808 |
Expected behavior
Using createAsset mutation to add image assets including tag identifier, the asset will be created successfully.
Actual behavior
Using createAsset mutation fails with the following error when a tag id is specified with the asset.
Steps to reproduce
Use the graphQL explorer / playground to test with a createAsset mutation similar to below
The text was updated successfully, but these errors were encountered: