Hi,
I had difficult days of debugging a strange issue with my custom code that reloads View using AJAX. Everything worked fine on all stages, but on PROD I had strange behavior. Finally, I was able to find the problem cause, it's adv_varnish_views_pre_render() function. In this function, $view->dom_id property is changing without checking its value. I am rendering a View with Ajax (see: https://www.thirdandgrove.com/rendering-view-ajax-drupal-8) and in initial empty markup have some div with an exact class (see: js-view-dom-id-ajax-demo in the post). After first AJAX call view appears, BUT the js-view-dom-id is changed and next AJAX call response command can't find and replace the dom element.

Comments

le72 created an issue. See original summary.

shumer’s picture

Status: Active » Closed (won't fix)

I can't reproduce this in 8.x-3.x branch which will be released soon.
As for the fix for 8.x-2.x it's already in eol cycle. So we won't fix it.