Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Partial broken after upgrade 2.5.2 #1246
If I create a fieldset "A" and I use it as a partial in fieldsets "B" and "C", this fieldsets should refers the original partial "A" and when I change or add fields to "A", i should see that fields in "B" and "C" data-entry page without any change at "B", "C" fieldsets yaml.
If open an old fieldset "B" that refers "A" as partial I see all "A" fields exploded (it is like if I added all "A" fields at "B"). If i save I see all "A" fields copied in "B" (in "B" yaml file). Now if I change "A" it is just a copy and "B" fieldset remain the same.
*old fieldset because created before upgrade
If I try to create a new field that use a partial I can't neither to choose a fieldset that is flegged as
Steps to reproduce
As explained before.
Updated from an older Statamic or fresh install:
List of installed addons:
@jasonvarga This bug is pretty easy to fix.
The ajax parameters passed to
Changing line 106 inside
$array = $fieldset->toArray(bool($this->request->input('partials', true)));
I've bumped into this too: