3063 Posts in 864 Topics by 646 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 171 Views |
-
SapphireTest with cyclic YAML file

1 December 2012 at 10:13pm
Hello,
I'm currently writing tests and found a problem using the YAML object definition. E.g. the following:
item4:
Title: Test Item 4
FirstChild: =>Item.item5
Next: =>Item.item6item5:
Title: Test Item 5
Parent: =>Item.item4leads to the error
.Undefined index: item5
Is there a way to define cyclic relations inside the YAML file?
Greetings
Michael -
Re: SapphireTest with cyclic YAML file

2 December 2012 at 5:19pm
AFAIK, no you can't have cyclic objects in SilverStripe YAML system.
| 171 Views | ||
|
Page:
1
|
Go to Top |


