We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Identical to the #7348 of sulu
The extensions must be refresh
Change this code inside ArticleObjectProvider
public function setValues($object, $locale, array $data) { $propertyAccess = PropertyAccess::createPropertyAccessorBuilder() ->enableMagicCall() ->getPropertyAccessor(); $structure = $object->getStructure(); foreach ($data as $property => $value) { try { $propertyAccess->setValue($structure, $property, $value); } catch (\InvalidArgumentException $e) { // @ignoreException //ignore not existing properties } } }
to this code
public function setValues($object, $locale, array $data) { $propertyAccess = PropertyAccess::createPropertyAccessorBuilder() ->enableMagicCall() ->getPropertyAccessor(); $structure = $object->getStructure(); foreach ($data as $property => $value) { try { if ('ext' === $property) { $object->setExtensionsData(new ExtensionContainer($value)); continue; } $propertyAccess->setValue($structure, $property, $value); } catch (\InvalidArgumentException $e) { //ignore not existing properties } } }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Actual Behavior
Identical to the #7348 of sulu
Expected Behavior
The extensions must be refresh
Steps to Reproduce
Identical to the #7348 of sulu
Possible Solutions
Change this code inside ArticleObjectProvider
to this code
The text was updated successfully, but these errors were encountered: