Closed (fixed)
Project:
Views migration from Drupal 7 to Drupal 10
Version:
1.0.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2021 at 18:04 UTC
Updated:
28 May 2021 at 20:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sundharHi webchick,
getPluginList method changed in viewsMigration plugin. Views::PluginList funtion not gives all defined plugins, example role access plugin, Its defined in user module. So, I change the rendering method to get view plugin list.
This issue related to https://www.drupal.org/project/views_migration/issues/3210462
It had solved with viewsFilterPlugins-3210462-7.patch (https://www.drupal.org/files/issues/2021-05-02/viewsFilterPlugins-3210462-7.patch)
Comment #3
sundharAssign 'administer nodes' permission if permission is null.
Comment #5
webchickHmmm. I wonder if there's another indicator we could look for here. For example, if permissions are null, AND there's no ->published = TRUE filter on the View? That seems like it would be more accurate to the intent.
It is strange that it's blanking out the perm altogether. Hm.
Comment #6
sundharHmm.. yes,
We change the permission to 'access content'.
And In D7 views module default access permission is 'access content'. programmatic created views has the access permission is null. so we assign the 'access content' permission. If the access permission is null.
Comment #8
webchickComment #9
webchickYES! :D Problem solved!