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.
Here is a message from my logs:
Emplacement http://toto.com/admin/structure/views/ajax/display/view_country/page/exp...
Référent http://toto.com/admin/structure/views/view/view_country/edit
Message Notice : Undefined index: help topic dans views_plugin_display->options_form() (ligne 2056 dans /var/www/toto.com/sites/all/modules/views/plugins/views_plugin_display.inc).
NB: sorry but I can't remember how to produce it.
Comment | File | Size | Author |
---|---|---|---|
#5 | 1484208-views-undefined-index-help-topic-3.patch | 3.62 KB | tedfordgif |
Comments
Comment #1
dawehnerIf you can't reproduce that this is impossible to fix, maybe some custom code problem.
Additional this doesn't seem to be a major problem, so let's mark as fixed.
Comment #5
tedfordgif CreditAttribution: tedfordgif commentedOne place this happens is when a module registers a plugin via hook_views_plugins() but does not provide the 'help topic' key in the plugin data. This is checked for some plugins, but not for access_options, cache_options, exposed_form_options, and pager_options plugins. Attached is a test-less patch, which can serve as a starting point for getting this fixed.
Comment #6
tedfordgif CreditAttribution: tedfordgif commentedFWIW, I first observed this with the views_content_cache module.
Comment #6.0
tedfordgif CreditAttribution: tedfordgif commentedshorter
Comment #7
Kristen PolThis might not be the preferred method (perhaps we are to assume the plugin will provide all the correct data) but this patch works for me and fixes the error when the help topic is missing. So... marking RTBC but I understand this this might not be committed. Thanks!
Comment #8
DamienMcKennaComment #9
DamienMcKennaComment #11
dawehnerI agree its fine to not require those modules to implement help.
Committed and pushed to 7.x-3.x thank you