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

Using {{access_overview}} in exists part of manifest could lead to RecursionError #390

Open
GDay opened this issue Nov 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@GDay
Copy link
Member

GDay commented Nov 7, 2023

The {{access_overview}} variable checks all integrations if they are still active (generally used in the execute part). If this variable is also called in the exists part of the manifest then it will run the same command again and will create an infinite loop.

Example manifest that will trigger this error:

{
    "form": [],
    "exists": {
        "url": "https://chiefonboarding.com",
        "method": "GET",
        "expected": "{{access_overview}}"
    },
    "execute": [
        {
            "url": "https://chiefonboarding.com",
            "data": {
                "user": "{{access_overview}}"
            },
            "method": "POST"
        }
    ]
}

It's extremely unlikely that access_overview will ever be needed in the exists part.

Originally posted here: #385 (comment)

@GDay GDay added the bug Something isn't working label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant