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

API Virtual pages now respect cascade_deletes on source page #1919

Merged

Conversation

tractorcow
Copy link
Contributor

Fixes broken CMS tests on silverstripe/silverstripe-framework#7257, but neither will pass in isolation.

Parent story: silverstripe/silverstripe-versioned#23

Copy link
Contributor

@flamerohr flamerohr left a comment

Choose a reason for hiding this comment

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

Wait for silverstripe/silverstripe-framework#7257 to be merged, then restart tests for this

Can be merged on green :D

@@ -200,51 +198,12 @@ public function testCantPublishVirtualPagesBeforeTheirSource()
$this->assertTrue($vp->canPublish());
}

public function testCanDeleteOrphanedVirtualPagesFromLive()
Copy link
Contributor

Choose a reason for hiding this comment

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

ooh, no more orphaned virtual pages, no wonder it's no longer needed in the "broken links" report

@flamerohr flamerohr merged commit 9e86a2b into silverstripe:4 Aug 9, 2017
@flamerohr flamerohr deleted the pulls/4.0/virtualpage-cascade-delete branch August 9, 2017 04:35
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.

2 participants