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
JS.snakeCaseObject()
breaks objects having camel case keys and string values, as obj[key]
is undefined in that case.
Proposed resolution
Fix it.
Remaining tasks
- Agree on a solution
Write a patch- Reviews
User interface changes
None
API changes
None
Data model changes
None
Comment | File | Size | Author |
---|---|---|---|
#2 | js-snake_case-2828768-2.patch | 474 bytes | plach |
Comments
Comment #2
plachThis may even be critical, as every object passed to an AJAX call will be passed to
JS.snakeCaseObject()
.Comment #3
plachComment #4
plachComment #6
markhalliwell