ezsystems/ezpublish-kernel — pull request #281 by lolautruche (2013-03-29 21:29:24+00:00)
Title: EZP-20399 - Fixed multiple compound matcher with different configuration

This PR fixes [the issue mentioned during QA testing](https://jira.ez.no/browse/EZP-20399?focusedCommentId=71908&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-71908).

It changes the configuration of the compound `LogicalAnd` and `LogicalOr` matchers :

**Before (broken)**
```yaml
ezpublish:
siteaccess:
default_siteaccess: eng
list:
- ezdemo_site
- ezdemo_site_admin
match:
Compound\LogicalAnd:
matchers:
Map\URI:
front: true
Map\Host:
ezpublish.dev: true
match: ezdemo_site
Compound\LogicalAnd:
matchers:
Map\URI:
admin: true
Map\Host:
ezpublish.dev: true
match: ezdemo_site_admin
```

**After**
```yaml
ezpublish:
siteaccess:
default_siteaccess: eng
list:
- ezdemo_site
- ezdemo_site_admin
match:
Compound\LogicalAnd:
-
matchers:
Map\URI:
front: true
Map\Host:
ezpublish.dev: true
match: ezdemo_site
-
matchers:
Map\URI:
admin: true
Map\Host:
ezpublish.dev: true
match: ezdemo_site_admin
```