- Issue created by @danrod
- 🇳🇱Netherlands balintbrews Amsterdam, NL
I think this is a duplicate of 🐛 No visible error message when trying to save with missing image Active , which may get solved by 📌 Split model values into resolved and raw Active .
I'm not sure if this was addressed or mentioned before, I was testing out the Experience Builder (Drupal 11.1.4 - DDEV PHP8.3) today, testing the components and stuff, then used the Undo button (circled arrow <- ) and when I tried to save the button I click the button many times and did nothing, when I looked at the console I saw this error.
This is the response I got
{
"message": "No data provided to evaluate expression \u2139\ufe0e\u241centity:media:image\u241dfield_media_image\u241e\u241falt",
"file": "\/var\/www\/html\/web\/modules\/contrib\/experience_builder\/src\/PropExpressions\/StructuredData\/Evaluator.php",
"line": 44,
"trace": [
{
"file": "\/var\/www\/html\/web\/modules\/contrib\/experience_builder\/src\/PropExpressions\/StructuredData\/Evaluator.php",
"line": 16,
"function": "doEvaluate",
"class": "Drupal\\experience_builder\\PropExpressions\\StructuredData\\Evaluator",
"type": "::"
},
{
"file": "\/var\/www\/html\/web\/modules\/contrib\/experience_builder\/src\/PropExpressions\/StructuredData\/Evaluator.php",
"line": 73,
"function": "evaluate",
"class": "Drupal\\experience_builder\\PropExpressions\\StructuredData\\Evaluator",
"type": "::"
},
{
"file": "\/var\/www\/html\/web\/modules\/contrib\/experience_builder\/src\/PropExpressions\/StructuredData\/Evaluator.php",
"line": 16,
"function": "doEvaluate",
"class": "Drupal\\experience_builder\\PropExpressions\\StructuredData\\Evaluator",
"type": "::"
},
{
"file": "\/var\/www\/html\/web\/modules\/contrib\/experience_builder\/src\/PropExpressions\/StructuredData\/Evaluator.php",
"line": 69,
"function": "evaluate",
"class": "Drupal\\experience_builder\\PropExpressions\\StructuredData\\Evaluator",
"type": "::"
},
{
"function": "Drupal\\experience_builder\\PropExpressions\\StructuredData\\{closure}",
"class": "Drupal\\experience_builder\\PropExpressions\\StructuredData\\Evaluator",
"type": "::"
},
{
"file": "\/var\/www\/html\/web\/modules\/contrib\/experience_builder\/src\/PropExpressions\/StructuredData\/Evaluator.php",
"line": 68,
"function": "array_map"
},
{
"file": "\/var\/www\/html\/web\/modules\/contrib\/experience_builder\/src\/PropExpressions\/StructuredData\/Evaluator.php",
"line": 16,
"function": "doEvaluate",
"class": "Drupal\\experience_builder\\PropExpressions\\StructuredData\\Evaluator",
"type": "::"
},
{
"file": "\/var\/www\/html\/web\/modules\/contrib\/experience_builder\/src\/PropSource\/StaticPropSource.php",
"line": 230,
"function": "evaluate",
"class": "Drupal\\experience_builder\\PropExpressions\\StructuredData\\Evaluator",
"type": "::"
},
{
"file": "\/var\/www\/html\/web\/modules\/contrib\/experience_builder\/src\/Plugin\/ExperienceBuilder\/ComponentSource\/GeneratedFieldExplicitInputUxComponentSourceBase.php",
"line": 279,
"function": "evaluate",
"class": "Drupal\\experience_builder\\PropSource\\StaticPropSource",
"type": "-\u003E"
},
{
"function": "Drupal\\experience_builder\\Plugin\\ExperienceBuilder\\ComponentSource\\{closure}",
"class": "Drupal\\experience_builder\\Plugin\\ExperienceBuilder\\ComponentSource\\GeneratedFieldExplicitInputUxComponentSourceBase",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/modules\/contrib\/experience_builder\/src\/Plugin\/ExperienceBuilder\/ComponentSource\/GeneratedFieldExplicitInputUxComponentSourceBase.php",
"line": 276,
"function": "array_map"
},
{
"file": "\/var\/www\/html\/web\/modules\/contrib\/experience_builder\/src\/Controller\/ClientServerConversionTrait.php",
"line": 129,
"function": "validateComponentInput",
"class": "Drupal\\experience_builder\\Plugin\\ExperienceBuilder\\ComponentSource\\GeneratedFieldExplicitInputUxComponentSourceBase",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/modules\/contrib\/experience_builder\/src\/Controller\/ClientServerConversionTrait.php",
"line": 172,
"function": "clientModelToInput",
"class": "Drupal\\experience_builder\\ClientDataToEntityConverter",
"type": "::"
},
{
"file": "\/var\/www\/html\/web\/modules\/contrib\/experience_builder\/src\/ClientDataToEntityConverter.php",
"line": 49,
"function": "convertClientToServer",
"class": "Drupal\\experience_builder\\ClientDataToEntityConverter",
"type": "::"
},
{
"file": "\/var\/www\/html\/web\/modules\/contrib\/experience_builder\/src\/Controller\/ApiAutoSaveController.php",
"line": 194,
"function": "convert",
"class": "Drupal\\experience_builder\\ClientDataToEntityConverter",
"type": "-\u003E"
},
{
"function": "post",
"class": "Drupal\\experience_builder\\Controller\\ApiAutoSaveController",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/core\/lib\/Drupal\/Core\/EventSubscriber\/EarlyRenderingControllerWrapperSubscriber.php",
"line": 123,
"function": "call_user_func_array"
},
{
"file": "\/var\/www\/html\/web\/core\/lib\/Drupal\/Core\/Render\/Renderer.php",
"line": 593,
"function": "Drupal\\Core\\EventSubscriber\\{closure}",
"class": "Drupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/core\/lib\/Drupal\/Core\/EventSubscriber\/EarlyRenderingControllerWrapperSubscriber.php",
"line": 121,
"function": "executeInRenderContext",
"class": "Drupal\\Core\\Render\\Renderer",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/core\/lib\/Drupal\/Core\/EventSubscriber\/EarlyRenderingControllerWrapperSubscriber.php",
"line": 97,
"function": "wrapControllerExecutionInRenderContext",
"class": "Drupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpKernel.php",
"line": 183,
"function": "Drupal\\Core\\EventSubscriber\\{closure}",
"class": "Drupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpKernel.php",
"line": 76,
"function": "handleRaw",
"class": "Symfony\\Component\\HttpKernel\\HttpKernel",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/core\/lib\/Drupal\/Core\/StackMiddleware\/Session.php",
"line": 53,
"function": "handle",
"class": "Symfony\\Component\\HttpKernel\\HttpKernel",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/core\/lib\/Drupal\/Core\/StackMiddleware\/KernelPreHandle.php",
"line": 48,
"function": "handle",
"class": "Drupal\\Core\\StackMiddleware\\Session",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/core\/lib\/Drupal\/Core\/StackMiddleware\/ContentLength.php",
"line": 28,
"function": "handle",
"class": "Drupal\\Core\\StackMiddleware\\KernelPreHandle",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/core\/modules\/big_pipe\/src\/StackMiddleware\/ContentLength.php",
"line": 32,
"function": "handle",
"class": "Drupal\\Core\\StackMiddleware\\ContentLength",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/core\/modules\/page_cache\/src\/StackMiddleware\/PageCache.php",
"line": 116,
"function": "handle",
"class": "Drupal\\big_pipe\\StackMiddleware\\ContentLength",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/core\/modules\/page_cache\/src\/StackMiddleware\/PageCache.php",
"line": 90,
"function": "pass",
"class": "Drupal\\page_cache\\StackMiddleware\\PageCache",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/core\/lib\/Drupal\/Core\/StackMiddleware\/ReverseProxyMiddleware.php",
"line": 48,
"function": "handle",
"class": "Drupal\\page_cache\\StackMiddleware\\PageCache",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/core\/lib\/Drupal\/Core\/StackMiddleware\/NegotiationMiddleware.php",
"line": 51,
"function": "handle",
"class": "Drupal\\Core\\StackMiddleware\\ReverseProxyMiddleware",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/core\/lib\/Drupal\/Core\/StackMiddleware\/AjaxPageState.php",
"line": 36,
"function": "handle",
"class": "Drupal\\Core\\StackMiddleware\\NegotiationMiddleware",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/core\/lib\/Drupal\/Core\/StackMiddleware\/StackedHttpKernel.php",
"line": 51,
"function": "handle",
"class": "Drupal\\Core\\StackMiddleware\\AjaxPageState",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/core\/lib\/Drupal\/Core\/DrupalKernel.php",
"line": 709,
"function": "handle",
"class": "Drupal\\Core\\StackMiddleware\\StackedHttpKernel",
"type": "-\u003E"
},
{
"file": "\/var\/www\/html\/web\/index.php",
"line": 19,
"function": "handle",
"class": "Drupal\\Core\\DrupalKernel",
"type": "-\u003E"
}
]
}
Looks like the "Undo" button is not updating the component information that were removed.
Active
0.0
User interface
I think this is a duplicate of 🐛 No visible error message when trying to save with missing image Active , which may get solved by 📌 Split model values into resolved and raw Active .