Skip to content

Fix publishing in old mongo - #1203

Merged
dmitchell merged 2 commits into
masterfrom
dhm/bug_publish
Oct 2, 2013
Merged

Fix publishing in old mongo#1203
dmitchell merged 2 commits into
masterfrom
dhm/bug_publish

Conversation

@dmitchell

Copy link
Copy Markdown
Contributor

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

@singingwolfboy

Copy link
Copy Markdown
Contributor

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.

@chrisndodge

Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I like the rents and the mom. But there's a typo in "original_publlished".

@cahrens

cahrens commented Oct 2, 2013

Copy link
Copy Markdown

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. :)

@dmitchell

Copy link
Copy Markdown
Contributor Author

@chrisndodge L162 in the test moves one of the children before the publish.

@chrisndodge

Copy link
Copy Markdown
Contributor

Thx. Didn't spot that. I'll defer to you whether that might want to be a dedicated test method or not.

Don Mitchell added 2 commits October 2, 2013 16:06
when draft is deleted and then parent published.
ensure moving doesn't cause deletion
@dmitchell

Copy link
Copy Markdown
Contributor Author

Fixed all pep8 and the one typo in the comment.

@chrisndodge can I get a thumbs up?

@chrisndodge

Copy link
Copy Markdown
Contributor

yep, +1

dmitchell added a commit that referenced this pull request Oct 2, 2013
@dmitchell
dmitchell merged commit 0521bec into master Oct 2, 2013
@jzoldak
jzoldak deleted the dhm/bug_publish branch May 5, 2014 14:55
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Sep 23, 2016
…e_request_of_words_by_marketing_div

Change request of few messages by marketing div openedx#1184
iloveagent57 pushed a commit that referenced this pull request Feb 26, 2024
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants