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.
1. Getting error for DraggableViews. I had to use local patch. Can you fix it? I am working with drupal 8.2. I also check with dupal version 8.1, same case.
line: use Drupal\migrate\Entity\MigrationInterface;
should be replaced with: use Drupal\migrate\Plugin\MigrationInterface;
Check the patch file.
2. Getting notice in the .module file:
Notice: Undefined index: title in draggableviews_preprocess_views_view_table() (line 79 of modules/contrib/draggableviews/draggableviews.module).
Comment | File | Size | Author |
---|---|---|---|
#13 | fix-namespace-2826523-13.patch | 557 bytes | havran |
Comments
Comment #2
pericxc CreditAttribution: pericxc commentedComment #3
pericxc CreditAttribution: pericxc commentedComment #4
titouilleHi,
Instead of using
Maybe use some kind of logic like this:
To retrieve the real "label" column. Maybe we must check if a "label" key exists and add the isset like in the patch.
Comment #5
jorgespiessens CreditAttribution: jorgespiessens commentedIssue seems PHP version specific. With php 7.0.16 I don't have the issue, with php 5.6.22 I can reproduce.
Applied patch and works.
Comment #6
tophboogie CreditAttribution: tophboogie as a volunteer commentedI did have this issue with php 7.1.1 and I can confirm that #3 fixes the error
Comment #7
iStryker CreditAttribution: iStryker commentedComment #8
iStryker CreditAttribution: iStryker commentedActually I am marking this a duplication of #2876749: Adjust draggable views to not assume a 'title' key in view row as it currently has a patch that fixes this (#7).
Comment #9
boazpoolman CreditAttribution: boazpoolman as a volunteer commentedUpdated patch to only set the title to NULL if the title is actually not there.
When there is a title that will be used
Comment #10
boazpoolman CreditAttribution: boazpoolman as a volunteer commentedComment #11
havran CreditAttribution: havran commentedActually, part with problem in migration destination is still not solved.
Comment #12
havran CreditAttribution: havran commentedComment #13
havran CreditAttribution: havran commentedAdded patch only for migration destination namespace issue.
Comment #14
havran CreditAttribution: havran commented