bit3/contao-meta-palettes — pull request #24 by discordier (2014-07-23 00:53:13+00:00)
Title: Fix recursive subpalettes

This PR fixes a bug for recursive subpalettes with anonymous legends.
The following worked just fine:
```
'metapalettes' => array(
'default' => array(
'legend1' => array('field_one', 'field_two'),
)
),
'metasubselectpalettes' => array(
'field_two' => array(
'value1' => array(
'legend1' => 'field_three',
)
),
'field_three' => array(
'value2' => array(
'legend1' => 'field_four'
)
),
)
```
While this did not:
```
'metapalettes' => array(
'default' => array(
'legend1' => array('field_one', 'field_two'),
)
),
'metasubselectpalettes' => array(
'field_two' => array(
'value1' => array(
'field_three',
)
),
'field_three' => array(
'value2' => array(
'field_four'
)
),
)
```
Note the absence of the legend naming for the dependant fields. Property `field_four` was not added at all.

While I was at it, I also fixed the current test cases to reflect the latest changes in DCG and also updated the build dependencies to c-c-a/dc-general 2.0.