WebformSubmission uri not defined

Created on 21 June 2023, over 1 year ago
Updated 20 July 2023, over 1 year ago

Problem/Motivation

The src/Entity/WebformSubmission.php uses $this->uri but the uri is never defined. Example WebformSubmission::getSourceUrl uses $uri = $this->uri->value;.

Steps to reproduce

Look at the code.

Proposed resolution

Get the uri value from database at WebformSubmission::getSourceUrl.

Remaining tasks

Patch.

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Closed: cannot reproduce

Version

6.2

Component

Code

Created by

🇫🇮Finland MikaT

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @MikaT
  • Status changed to Postponed: needs info over 1 year ago
  • 🇺🇸United States jrockowitz Brooklyn, NY

    When I go to view a submission view webform node (i.e. /wf/node/16/webform/submission/106), the `$this->uri->value` get the URI as expected.

    $node->property->value and $node->get('property')->value are equivalent.

    Are you able to reproduce any issues?

  • Status changed to Closed: cannot reproduce over 1 year ago
  • 🇺🇸United States jrockowitz Brooklyn, NY
Production build 0.71.5 2024