-
Notifications
You must be signed in to change notification settings - Fork 13
Fix routing for admin/content. #10
base: 8.x-2.x
Are you sure you want to change the base?
Conversation
Sounds like you're missing the file_entity view? I know this is a problem, not sure what the best fix is. It uses the default entity list builder, so trying to actually use that will result in a completely useless page. I'd rather go for defining the local task dynamically, similar to what we did in our past module: https://www.drupal.org/node/2614124 |
I can see the View in the Is it the routing that you think should be removed? I've looked at the past db patch. Looks like it removes the routing, removes the path from the View, and adds a tab to the View. Is that correct? Still looks like the View itself it broken. The error I get on that is that If I remove the field I notice only |
The trick is only adding the local task if the view is present in the system. That's done in the new code added in that page. Errors on the views sounds like a different problem, but I don't really see why that should fail just for you, are you using postgresql? But even then, mysql strict should behave the same. |
Ok cool that's what I thought it did. The errors I am chasing down. I'm not using postgres but the error does seem to be about an SQL strict standard that is stronger than the one used when I run the query manually. Also I've discovered that if I enable aggregation on the |
PS I'm still having the same issue. I'm building the site from my install profile. Does that give any clues? |
bb09a1d
to
d62cc13
Compare
On an existing project, when I use file entity with Drupal 8.0.1, I get a WSOD at
admin/content
. Adding this route corrects the issue.