Follow-up to #2792583: Use Field API

Problem/Motivation

YAML Form submission data should be more compatible with Drupal Field API.

Proposed resolution

Add property column to submission data table.

Remaining tasks

  • Update yamlform_submission_data schema
  • Update YamlFormSubmissionStorage
  • Update table sorting
  • Fix composite elements
  • Write update hook

User interface changes

Multiple option elements will not be sorted correctly by their delta values.

API changes

None

Data model changes

  • Adding property (string) column to submission data table.
  • Converting delta to int column in submission data table.

Development Notes

  • Branch Name: 2806263-add-property-to-submission-data-table.
  • Commit message: Issue #2806263: Add property column to submission data table.

Comments

jrockowitz created an issue. See original summary.

jrockowitz’s picture

Issue summary: View changes
jrockowitz’s picture

Issue summary: View changes
jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new14.73 KB

Status: Needs review » Needs work

The last submitted patch, 4: add_property_column_to-2806263-4.patch, failed testing.

  • jrockowitz committed 08571a1 on 2806263-add-property-to-submission-data-table
    Issue #2806263: Add property column to submission data table
    

  • jrockowitz committed 64c11a9 on 2806263-add-property-to-submission-data-table
    Issue #2806263: Add property column to submission data table
    
jrockowitz’s picture

Status: Needs work » Needs review
StatusFileSize
new17.63 KB

  • jrockowitz committed a3c8986 on 2806263-add-property-to-submission-data-table
    Issue #2806263: Add property column to submission data table.
    
jrockowitz’s picture

StatusFileSize
new17.93 KB

  • jrockowitz committed a15a558 on 2806263-add-property-to-submission-data-table
    Issue #2806263: Add property column to submission data table.
    

  • jrockowitz committed 9def1e1 on 2806263-add-property-to-submission-data-table
    Issue #2806263: Add property column to submission data table.
    

  • jrockowitz committed d932c6b on 2806263-add-property-to-submission-data-table
    Issue #2806263 by jrockowitz: Add property column to submission data...
jrockowitz’s picture

StatusFileSize
new26.59 KB

  • jrockowitz committed db9c514 on 2806263-add-property-to-submission-data-table
    Issue #2806263 by jrockowitz: Add property column to submission data...

  • jrockowitz committed efe8599 on 8.x-1.x
    Issue #2806263: Add property column to submission data table.
    
jrockowitz’s picture

Status: Needs review » Fixed

  • jrockowitz committed 7b633ca on 8.x-1.x
    Issue #2806263: Add property column to submission data table. Fix '...

Status: Fixed » Closed (fixed)

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