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

An error was thrown while executing action collection.items.create #13973

Closed
vahidreza opened this issue Jun 18, 2022 · 1 comment
Closed

An error was thrown while executing action collection.items.create #13973

vahidreza opened this issue Jun 18, 2022 · 1 comment

Comments

@vahidreza
Copy link

vahidreza commented Jun 18, 2022

Describe the Bug

im using the new flow designer

this is how my flow looks like:
Screen Shot 2022-06-18 at 14 05 22

the flow setting is as below:
Screen Shot 2022-06-18 at 14 06 20

the condition:
Screen Shot 2022-06-18 at 14 07 08

and the final log operation
Screen Shot 2022-06-18 at 14 07 50

after saving when i add a record to the collection instead of having the log when the type is not set to 'father' as described in the condition i get below error in the server logs and the expected flow log wont appear in log area of the flow object:

09:29:13 ⚠️  Transaction query already complete, run with DEBUG=knex:tx for more info,
09:29:13 ⚠️  An error was thrown while executing action "bhn_crm_contacts_bhn_crm_contacts_3.items.create",
09:29:13 ✨ the relation is not a father type: {"payload":{"related_bhn_crm_contacts_id":{"name":"sister 3","last_name":"patient"},"relationship_class":"family","relationship_type":"sister","bhn_crm_contacts_id":"27f181e1-0d96-41db-821b-fac50dc2831d"},"key":14,"collection":"bhn_crm_contacts_bhn_crm_contacts_3"}

To Reproduce

depicted above

Errors Shown

09:29:13 ⚠️  Transaction query already complete, run with DEBUG=knex:tx for more info,
09:29:13 ⚠️  An error was thrown while executing action "bhn_crm_contacts_bhn_crm_contacts_3.items.create",
09:29:13 ✨ the relation is not a father type: {"payload":{"related_bhn_crm_contacts_id":{"name":"sister 3","last_name":"patient"},"relationship_class":"family","relationship_type":"sister","bhn_crm_contacts_id":"27f181e1-0d96-41db-821b-fac50dc2831d"},"key":14,"collection":"bhn_crm_contacts_bhn_crm_contacts_3"}

What version of Directus are you using?

9.12.2

What version of Node.js are you using?

16.15.1

What database are you using?

mysql

What browser are you using?

chrome

How are you deploying Directus?

Docker

@azrikahar
Copy link
Contributor

Closing in favor of tracking this in #13747.

@azrikahar azrikahar closed this as not planned Won't fix, can't repro, duplicate, stale Jun 20, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants