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.
Drupal core uses integer value, and in the menu_links table the hidden value is an integer value
however in entity_translation_i18n_menu.module a boolean is used instead of an integer value.
In some cases this can cause a "PDO expects integer, boolean given/error warning" that may occur depending on flavour of server stack used.
it is far safer to use the integer value as is the standard.
See attached patch
Comment | File | Size | Author |
---|---|---|---|
#3 | entity_translation_i18n_menu_integer_not_bool-2442953-3.patch | 684 bytes | joseph.olstad |
Comments
Comment #1
joseph.olstadComment #2
joseph.olstadComment #3
joseph.olstadremove comment as it is already pretty obvious
Comment #4
joseph.olstadI am reviewing this right now
Comment #5
joseph.olstadClosing this issue as the real solution for our use case was in this issue:
http://drupal.org/project/node/214137 found in patch 17 to wetkit_deployment_source.module
Hope this helps someone down the road.
Although I must say the patch in this issue #2442953 is compatible with what the solution I found was. Probably wouldn't hurt to commit into i18n however our use case did not require a patch to entity_translation (it worked with or without).