Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Cyclic Dependency Errors

This page provides information on identifying and resolving cyclic dependency errors. A cyclic dependency occurs when two or more components depend on each other, either directly or indirectly, creating a loop. Below are different types of cyclic dependencies and how to resolve them.


#### Cyclic dependency in Table column validation

<Message
messageContainerClassName="error"
messageContent="Cyclic dependency found while evaluating. Node was: Table1.primaryColumns.created_at.validation"></Message>

#### Cause

This error occurs when you try to use a Table widget's property inside the Table column validation. For example, using `Table1.updatedRow` inside the column validation property creates a cyclic dependency. This means that the validation logic relies on a property that is itself dependent on the result of the validation, causing an infinite loop of dependencies.

#### Solution

To resolve this issue, use `{{currentRow.name}}` in the Table column validation property instead of `Table1.updatedRow` or `Table1.newRow`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think adding some examples will explain this better.


Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,6 @@ This error occurs when there are duplicate values in the options property of the

#### Solution

To resolve this error, ensure that each value in the options property of the Select widget is unique. You can do this by checking the values and making sure that there are no duplicates.
To resolve this error, ensure that each value in the options property of the Select widget is unique. You can do this by checking the values and making sure that there are no duplicates.


1 change: 1 addition & 0 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,7 @@ const sidebars = {
'help-and-support/troubleshooting-guide/action-errors/README',
'help-and-support/troubleshooting-guide/git-errors',
'help-and-support/troubleshooting-guide/gac-errors',
'help-and-support/troubleshooting-guide/cyclic-dependency',
],
},
// 'help-and-support/troubleshooting-guide/js-errors',
Expand Down
Loading