Problem/Motivation

The below webform is causing a recursion.
/webform/test_form_prepopulate?source_entity_type=webform&source_entity_id=contact

\Drupal\webform\Plugin\WebformSourceEntity\QueryStringWebformSourceEntity::getSourceEntity
…is calling… \webform_access_webform_access
…which is calling… \Drupal\webform\WebformRequestInterface::getCurrentSourceEntity
…which is calling… \Drupal\webform\Plugin\WebformSourceEntity\QueryStringWebformSourceEntity::getSourceEntity

This issue only occurs when the source entity_type is webform and the webform_access.module is installed.

Proposed resolution

TBD

CommentFileSizeAuthor
#4 3008205-4.patch998 bytesjrockowitz
#2 3008205-2.patch2.91 KBjrockowitz

Comments

jrockowitz created an issue. See original summary.

jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new2.91 KB

Status: Needs review » Needs work

The last submitted patch, 2: 3008205-2.patch, failed testing. View results

jrockowitz’s picture

Status: Needs work » Needs review
StatusFileSize
new998 bytes

  • jrockowitz committed 0494d8b on 8.x-5.x
    Issue #3008205 by jrockowitz: Unexpected recursion
    
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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