Fix publishing in old mongo - #1203
Conversation
|
I don't see anything wrong with this. However, I'm still not very familiar with the database layer in our application, so I don't entirely understand it. |
|
Can you add a test case which does a move operation and verify that the underlying object is not deleted? I see you correctly identified that as a use-case, but I think it'd be good to test that. Otherwise looks good. Thanks. |
There was a problem hiding this comment.
I like the rents and the mom. But there's a typo in "original_publlished".
|
A few pep8 things in test_publish. I looked at the code, and it seems reasonable (not that I completely understand it). I have no desire to re-review. :) |
|
@chrisndodge L162 in the test moves one of the children before the publish. |
|
Thx. Didn't spot that. I'll defer to you whether that might want to be a dedicated test method or not. |
when draft is deleted and then parent published. ensure moving doesn't cause deletion
|
Fixed all pep8 and the one typo in the comment. @chrisndodge can I get a thumbs up? |
|
yep, +1 |
…e_request_of_words_by_marketing_div Change request of few messages by marketing div openedx#1184
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 46da6c0d98504aed6fc429519a258b951f23f474 to e3645dd16d792dc1461bba740dab47338596a26a. - [Release notes](https://github.com/peter-evans/create-or-update-comment/releases) - [Commits](peter-evans/create-or-update-comment@46da6c0...e3645dd) --- updated-dependencies: - dependency-name: peter-evans/create-or-update-comment dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Usama Sadiq <usama.sadiq@arbisoft.com>
Fix for STUD-811.
Deleted units weren't being deleted upon publication.
Can @chrisndodge plus one of @cahrens @singingwolfboy please review (or delegate)? CAT-1 bug