-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix restore when parent page was deleted (#660)
- Loading branch information
1 parent
b3a6098
commit b0dfa50
Showing
3 changed files
with
136 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
Tests/Application/config/templates/articles/default_with_page_tree_route.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" ?> | ||
<template xmlns="http://schemas.sulu.io/template/template" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://schemas.sulu.io/template/template http://schemas.sulu.io/template/template-1.0.xsd"> | ||
|
||
<key>default_with_page_tree_route</key> | ||
|
||
<view>::default_with_page_tree_route</view> | ||
<controller>SuluWebsiteBundle:Default:index</controller> | ||
<cacheLifetime>2400</cacheLifetime> | ||
|
||
<tag name="sulu_article.type" type="blog"/> | ||
|
||
<properties> | ||
<property name="title" type="text_line" mandatory="true"/> | ||
|
||
<property name="routePath" type="page_tree_route"> | ||
<tag name="sulu_article.article_route"/> | ||
</property> | ||
|
||
<property name="article" type="text_area"/> | ||
</properties> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters