Skip to content

Commit

Permalink
Merge pull request #60 from mficzel/bugfix/correctDocumentConstraints
Browse files Browse the repository at this point in the history
BUGFIX: Correct constraints and make nodeTypes.yaml valid again
  • Loading branch information
mficzel authored Apr 3, 2019
2 parents ae04629 + 83e6701 commit 4c1a777
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Configuration/NodeTypes.Document.Chapter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
'Neos.Demo:Document.Chapter':
superTypes:
'Neos.Neos:Document': true
constraints:
nodeTypes:
'Neos.Demo:Document.Homepage': false
'Neos.Demo:Document.NotFoundPage': false
childNodes:
'main':
type: 'Neos.Demo:Collection.Content.Main'
Expand Down
3 changes: 0 additions & 3 deletions Configuration/NodeTypes.Document.NotFoundPage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
label: i18n
icon: 'times'

# hide in node creation dialogue
group: ~

# no further sub documents are allowed here
constraints:
nodeTypes:
Expand Down
3 changes: 2 additions & 1 deletion Configuration/NodeTypes.Document.Page.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
icon: 'icon-image'
constraints:
nodeTypes:
'Neos.Demo:Homepage': false
'Neos.Demo:Document.Homepage': false
'Neos.Demo:Document.NotFoundPage': false
childNodes:
'main':
type: 'Neos.Demo:Collection.Content.Main'
Expand Down

0 comments on commit 4c1a777

Please sign in to comment.