When you hide the webform from displaying (via admin/structure/types/manage/webform/display) it will still display the form when

  1. webform (node/xxx/webform/configure) > advanced settings > Available as block = selected
  2. this webform block is displayed on the SAME webform (e.g. in side bar)

This problem occurred after upgrade to version 7.x-4.7

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DanChadwick’s picture

Reproduced in latest dev.

DanChadwick’s picture

Not sure what version was previously used. Looking at the code, I think it's been this way for quite a while. The problem may depend upon the order of the regions. With the block in the first side bar, it is displayed, creating the content. When the node is later displayed, the rendering is skipped, but the block's content was still stored in the node.

Committed to 7.x-4.x and 8.x.

DanChadwick’s picture

Status: Active » Fixed

  • DanChadwick committed 3b6a635 on 8.x-4.x
    Issue #2471363 by DanChadwick: Fixed Webform displays in node, even when...

  • DanChadwick committed 1060c61 on
    Issue #2471363 by DanChadwick: Fixed Webform displays in node, even when...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.