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

Cant add new relation to OP, need help or advice #44

Open
vigaripov opened this issue Apr 3, 2024 · 0 comments
Open

Cant add new relation to OP, need help or advice #44

vigaripov opened this issue Apr 3, 2024 · 0 comments

Comments

@vigaripov
Copy link

vigaripov commented Apr 3, 2024

Hello there! I'm having trouble adding a new relation called 'start_follows' to OP. I've configured it to be equivalent to the 'follows' relation, but it's not working as expected. I have a record in db that relation is created, but here is the issue:

I have two tasks, 2454 and 2459(you can see at screenshot in Relations table). When I try to change the dates for task 2454, task 2459 also changes due to the OP's schedule dependency logic.
However, when I try to change the same dates for task 2459 in the same way, the schedule dependency does not find a 'to_id' of relation and task 2454 does not change.

@ulferts can you please take a look and give me advice, maybe I missed something?
(dont know, maybe I need some migration to rebuild Node or something else...)

UPD: I have tried this migration, but it doesn't seem to help

def change
    Migration::MigrationUtils::TypedDag.configure
end

typed_dag.rb:
Снимок экрана 2024-04-03 в 14 07 34

relation.rb:
Снимок экрана 2024-04-03 в 14 07 52
Снимок экрана 2024-04-03 в 14 08 17

relations table:
Снимок экрана 2024-04-03 в 14 08 45

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

No branches or pull requests

1 participant