shakty/Patterns — Issue #41: wrong validation
Author: shakty
Created: 2012-01-13 14:44:18+00:00
State: open

The following snippet of a pattern has an empty section. That should not validate, or at least raise a warning

# YAML block Pattern

info:
title: Block_after_Sasa_modified
description: automatically generated Pattern file
author: root
category: Imported
version: 1.0
core: x.y
author_email: futur.dorko@gmail.com
author_website: http://localhost

actions:

actions:
- modify:
tag: block
module: user
delta: online
title:
user_block_seconds_online: 900
user_block_max_list_count: 10
regions:
bartik: sidebar_second
seven: content
visibility: 0
pages:
# roles:
# 1: 0
# 2: 0
# 3: 0
# custom: 0
# types:
# article: 0
# page: 0
visibility__active_tab: