Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Removed the usage of Yaml::decode in includes/webform.install.update.inc for safe handling of empty arrays
Steps to reproduce
Go to includes/webform.install.update.inc file, we can see Yaml::decode usage.
Proposed resolution
Remove Yaml::decode class because empty can't handled by Yaml::decode method.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#5 | 3243565-4-6.x.patch | 8.74 KB | jrockowitz |
#4 | 3243565-3.patch | 9.06 KB | jrockowitz |
#2 | 3243565-02.patch | 5.46 KB | iyyappan.govind |
Comments
Comment #2
iyyappan.govindPlease review my patch, Thanks
Comment #3
iyyappan.govindComment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer and at Webform module Open Collective, The Big Blue House commentedWe need to fix this in 8.x-5.x and then 6.x
Comment #5
jrockowitz CreditAttribution: jrockowitz as a volunteer and at Webform module Open Collective, The Big Blue House commentedComment #6
paulocsLooks good.
Comment #8
jrockowitz CreditAttribution: jrockowitz as a volunteer and at Webform module Open Collective, The Big Blue House commented