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.
While trying to create a taxonomy term, I ran into an issue with a wrong bundle check that let it fail.
Comment | File | Size | Author |
---|---|---|---|
#3 | restws_create_fix.patch | 1.08 KB | fago |
restws_create_fix.patch | 1.09 KB | fago |
Comments
Comment #1
fagoComment #3
fagogood test case :-)
Looks like the entity api function initaliztes the bundle to an empty string, so we've to check it using empty(). Updated patch attached.
Comment #4
klausiWould be cool to get that taxonomy term creation as test case?
Comment #5
klausiTagging