Bug Description
There may be 1 or 2 issues here so have put them together in case they are related.
I had a "content" fieldset added which was basically just a Bard field with all my blocks added, that I then added to blueprints.
I just re-saved two blueprints, and it seemed to convert the related fields to be directly-added fields, i.e. all the fields in the related fieldset were now added directly to the blueprint (the YAML file changed the import key to handle with all the fields, see screenshot).

Not sure why this happened, but if this is due to a change in a release at some point then can disregard this bit (but may also be a bug, I'm not sure).
The main issue is I'm now trying to re-attach the related field, but when I select it from the 'Link Fields' pane, and it posts to /fields/edit, I get the following error:
Undefined index: field - error from line 56 of /cms/src/Fields/FieldTransformer.php
If I then close the pane, and save the blueprint anyway, it does seem to add it:

I notice the syntax for importing the fieldset has changed which explains the first issue.
It does pull through when adding an entry, so seems like it's saved it properly, however the little width selector thing doesn't work on the blueprint page so I can't change it from, in this case, 66% - the hover effect works, but clicking it doesn't do anything.

How to Reproduce
Create a fieldset
Try to link the fieldset to a blueprint
The AJAX call will fail, but if you close the pane and save the blueprint, it will save - however the width selector won't work
Environment
Statamic version: I initially encountered it on 3.0.0.-beta-40 but have another installation on beta-37 which has the same issue, so doesn't appear to be a recent regression.
PHP version: 7.4
Install method (choose one):
- Fresh install from
statamic/statamic and an older version that's been upgraded throughout the beta
Bug Description
There may be 1 or 2 issues here so have put them together in case they are related.
I had a "content" fieldset added which was basically just a Bard field with all my blocks added, that I then added to blueprints.
I just re-saved two blueprints, and it seemed to convert the related fields to be directly-added fields, i.e. all the fields in the related fieldset were now added directly to the blueprint (the YAML file changed the
importkey tohandlewith all the fields, see screenshot).Not sure why this happened, but if this is due to a change in a release at some point then can disregard this bit (but may also be a bug, I'm not sure).
The main issue is I'm now trying to re-attach the related field, but when I select it from the 'Link Fields' pane, and it posts to
/fields/edit, I get the following error:Undefined index: field- error from line 56 of/cms/src/Fields/FieldTransformer.phpIf I then close the pane, and save the blueprint anyway, it does seem to add it:
I notice the syntax for importing the fieldset has changed which explains the first issue.
It does pull through when adding an entry, so seems like it's saved it properly, however the little width selector thing doesn't work on the blueprint page so I can't change it from, in this case, 66% - the hover effect works, but clicking it doesn't do anything.
How to Reproduce
Create a fieldset
Try to link the fieldset to a blueprint
The AJAX call will fail, but if you close the pane and save the blueprint, it will save - however the width selector won't work
Environment
Statamic version: I initially encountered it on 3.0.0.-beta-40 but have another installation on beta-37 which has the same issue, so doesn't appear to be a recent regression.
PHP version: 7.4
Install method (choose one):
statamic/statamicand an older version that's been upgraded throughout the beta