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

Do not reload the relations tab after a hierarchy change. #17332

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

HDinger
Copy link
Contributor

@HDinger HDinger commented Dec 3, 2024

What are you trying to accomplish?

Stabilize the relations/hierarchy_spec.rb

What approach did you choose and why?

The test always failed after a parent and a child have been removed from a WorkPackage. After the parent is removed, the relations tab was updated. I assume, that the test was so fast, that it deleted the Child before the tab content was updated and thus someting went wrong. However, since Parents are not part of the relations tab (or the counter), it is not necessary to reload the tab after parent change.
This appears due to the changes made in the scope of https://community.openproject.org/projects/stream-planning-and-reporting/work_packages/58345/activity

@HDinger HDinger added this to the 15.1.x milestone Dec 3, 2024
@HDinger HDinger requested a review from ulferts December 3, 2024 10:24
Copy link
Contributor

@ulferts ulferts left a comment

Choose a reason for hiding this comment

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

👍

@ulferts ulferts merged commit 148c6fd into release/15.1 Dec 3, 2024
14 checks passed
@ulferts ulferts deleted the fix/do-not-reload-relations-on-parent-udpate branch December 3, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants