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.
Even if a vocab has been 'disabled' in the preset, it is still applied to the Vocab. If a user wants just a few OpenCalais fields, they get all. The interface suggests it won't do this.
I did some digging and i've changed the logic around a little in the preset_apply code and added in a check for 'enabled'
Also noticed some issues with ['entities'] being in the array now, not sure where this came from but was producing "cannot find index 'threshold'" errors
Patch follows.
Comment | File | Size | Author |
---|---|---|---|
#1 | opencalais-exportpresetapply-1740148-1.patch | 2.59 KB | Taz |
Comments
Comment #1
Taz CreditAttribution: Taz commented