- Merge request !13Issue #3331674: Notice: Undefined index: #entity_type in ds_preprocess_ds_layout() → (Closed) created by mjgruta
- 🇳🇱Netherlands MLZR Zutphen
The patch don't want to apply:
wget https://www.drupal.org/files/issues/2023-01-07/ds-module-updated.patch →
patch -p1 < ds-module-updated.patch
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.After this experience I did the change/patch by hand. The problem is gone. So the solution works! Top!
I don't know why the patch won't apply. What I know is when opening the file in linux with nano I see garbage. Nano says "(Converted from Mac format) ". When I open the file in the hosting (cpanel environment) I can't read the content also. I don't know what's going on.
Thanks for making this patch so fast.
Marcel - 🇨🇦Canada liquidcms
i think there is an extra line in the patch file... try this one.
- 🇺🇦Ukraine alanin
patch doesn't work. Error ds-undefined_index-3331674-9.patch:14: trailing whitespace
- 🇺🇸United States rishi kulshreshtha
According to @alanin, the patch provided at #9 is not effective. However, I can confirm that the changes proposed in the merge request https://git.drupalcode.org/project/ds/-/merge_requests/13.diff are functioning as intended. As a result, I am marking this as RTBC.
"drupal/ds": { "Notice: Undefined index: #entity_type in ds_preprocess_ds_layout()": "https://git.drupalcode.org/project/ds/-/merge_requests/13.diff" }
- Status changed to RTBC
over 1 year ago 10:38am 30 March 2023 - 🇨🇦Canada leducdubleuet Chicoutimi QC
I can confirm as well that the changes proposed in the merge request https://git.drupalcode.org/project/ds/-/merge_requests/13.diff are functioning as intended.
@Rishi Kulshreshtha Thanks for the code snippet to put in composer.json until this gets committed!
- last update
about 1 year ago 30 pass - 🇺🇦Ukraine HitchShock Ukraine
Just made a patch file from the MR to simplify adding to the composer
- Status changed to Fixed
11 months ago 12:38pm 23 December 2023 - Status changed to Fixed
11 months ago 12:39pm 23 December 2023 Thanks for patch #15, we have tested it in drupal 9.5. And it works correctly.
This patch is already integrated for D10+ versions.