todo not updated when dependency added to dependency
in project view with one todo A. The todo has a dependency B. When I add a new todo and drag it on B, todo A is not updated to reflect change.
The resulting js should replace todo A with updated partial
The resulting js should replace todo A with updated partial
Leave a comment
on 2010-02-10 14:01 *
By lrbalt
Assigned to set to epall
Summary changed from todo not updates when dependency added to dependency to todo not updated when dependency added to dependency
Assigned to set to epall
Summary changed from todo not updates when dependency added to dependency to todo not updated when dependency added to dependency
on 2010-02-13 17:44 *
By epall
Assigned to changed from epall to lrbalt
Status changed from Accepted to New
Assigned to changed from epall to lrbalt
Status changed from Accepted to New
I'm finding it virtually impossible to write a Cucumber+Selenium test for this. I could throw it together in Selenium IDE in five minutes, but this whole Webrat thing confuses me.
Re-assigning to Reinier to write a test for this to show me how it's done.
Re-assigning to Reinier to write a test for this to show me how it's done.
I just committed a working feature. I'm not sure it does what you want. You drag-and-drop 3 onto 2, but two is ' hidden' since it is already a dependency. So I've changed it into 3 onto 1 for now.
If you do mean 3 onto 2, shouldn't you either go to the project page and drag-and-drop into 2 in the deferred/pending collection? Of you should expand todo 1 and drag and drop there?
If you do mean 3 onto 2, shouldn't you either go to the project page and drag-and-drop into 2 in the deferred/pending collection? Of you should expand todo 1 and drag and drop there?
i just committed a working feature for this bug based on your patch. It took me a while to figure out that drag_and_drop does not wait for ajax to finish...
if you run the feature, the browser will stop and wait for Todo 3 to appear in the dependencies, but it will fail. If you reload, todo 3 will be there, so the ajax does not update Todo 1 to include Todo 3
if you run the feature, the browser will stop and wait for Todo 3 to appear in the dependencies, but it will fail. If you reload, todo 3 will be there, so the ajax does not update Todo 1 to include Todo 3
on 2010-03-06 23:58 *
By epall
Status changed from Accepted to Fixed
Work remaining changed from 1.0 to 0.0
Status changed from Accepted to Fixed
Work remaining changed from 1.0 to 0.0
(In revision:9591d29e7355ef02e14318442ab3de59d53fdb81) Fix refreshing of grandparent dependencies
Closes #972
Branch: master
Closes #972
Branch: master
on 2010-03-14 16:31 *
By epall
Status changed from Accepted to Fixed
Status changed from Accepted to Fixed
(In revision:a2f8327da4064cf5a74f8e5c3bd30b8390dd34e7) Correct walking of entire predecessor tree
Fixes #972
Branch: master
Fixes #972
Branch: master