in multi lingual site if I edit an existing English node and change Language in Language button, hit save button, I am getting below error.
Undefined index: #node in search_config_form_node_form_alter
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3061186-search_config-form_node_fix.patch | 918 bytes | fractile81 |
| #4 | index_node-3061186-4.patch | 671 bytes | sergiu stici |
Issue fork search_config-3061186
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3061186-node
changes, plain diff MR !5
- 3061186-undefined-index-node
compare
Comments
Comment #2
sergiu stici commentedHere is the patch, please review.
Comment #3
munavir commentedHi,
@itsnadeem - I tried to recreate the issue using my Drupal8 (8.7.4). I tried with 8.x-1.x-dev, but I couldn't.
@Sergiu Stici - The uploaded patch file is empty and 0KB
Comment #4
sergiu stici commentedI'm sorry, here is a new patch.
Comment #5
fractile81 commentedAttaching a patch that changes the database query setup to only happen after an nid is found. I've also changed the suggested logic to be usable pre-PHP 7.0 (needed?).
Comment #10
astonvictor commentedthanks for the patch.
fixed.