Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error displaying the edit form for original block once linked in Virtual Element #63

Open
jalamanderman opened this issue Apr 23, 2024 · 1 comment

Comments

@jalamanderman
Copy link
Collaborator

Once an element that is inline editable is linked and used in a Virtual Element it is no longer able to be edited.

Steps to reproduce:

  • Create a Content Block
  • Create a Virtual Block and link the Content Block
  • Click the content block and see 'Error displaying the edit form for this block

This only happens for inline editable elements.

Have reproduced a minimal, reproducible example using the silverstripe/installer boilerplate.

Screenshot 2024-04-24 at 10 39 24 AM

Screenshot 2024-04-24 at 10 40 15 AM

@robbyahnmsd
Copy link

Problem from silverstripe> framework > Forms > Schema > FormSchema.php Line 118.

private function recursivelyValidateSchemaData()

Could not find a react component for field \PageElements_12_VirtualClones.
/vendor/silverstripe/framework/src/Forms/Schema/FormSchema.php:132

Can we add null check before check schemaType and component?
VirtualClone schemaType showing null exception.

When I place the following condtion, it is working.
if(!is_null($data[schemaType'])){

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants