When I try to import a repeater field with one sub-field from Bolt 3.7 into a collection field in a Bolt 5 database using conimex, I get the following error:
In FieldRepository.php line 96:
[TypeError]
Argument 1 passed to Bolt\Repository\FieldRepository::factory() must be an instance of Tightenco\Collect\Support\Collection, null given, called in vendor/bolt/core/src/Controller/Backend/ContentEditController.php on line 453
Looking at the controller where the error is thrown, I see that $collection->getDefinition()->get('fields')->get($name); is returning an empty result, perhaps because the name being passed to it is 'timetabl' not 'timetable' (which is the name of the field). I can see that the repeater name is always being truncated by one letter (so if I shorted the field name to 'time' in the contenttypes.yaml' file, it becomes 'tim' in the import script), but I have not idea whether this is intentional or not.
When I try to import a repeater field with one sub-field from Bolt 3.7 into a collection field in a Bolt 5 database using conimex, I get the following error:
Looking at the controller where the error is thrown, I see that
$collection->getDefinition()->get('fields')->get($name);
is returning an empty result, perhaps because the name being passed to it is 'timetabl' not 'timetable' (which is the name of the field). I can see that the repeater name is always being truncated by one letter (so if I shorted the field name to 'time' in the contenttypes.yaml' file, it becomes 'tim' in the import script), but I have not idea whether this is intentional or not.