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.
Steps to reproduce:
- Go to admin/structure/views
- Add a new view via the wizard, with settings Show users of type User
- Click Save and edit
You'll get a PHP exception in the Apache logs:
Uncaught PHP Exception Drupal\\Component\\Plugin\\Exception\\PluginNotFoundException: "The "" plugin does not exist." at /var/www/html/head/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php line 57, referer: http://head.local/admin/structure/views/add
Comment | File | Size | Author |
---|---|---|---|
#10 | 2300015-10.patch | 1.69 KB | olli |
#10 | 2300015-test_only.patch | 904 bytes | olli |
Comments
Comment #1
anavarreComment #2
dawehnerMh, I cannot reproduce it, the users view just works fine and I don't see any errors anywhere.
Can you try to enable error display in drupal and look whether you see some backtrace?
Comment #3
anavarreI could reproduce again by checking out 8.x just now. Not sure that's the backtrace you're looking for but printing all errors in Drupal gave me this:
If you'd like something more detailed, please let me know?
Comment #4
dawehnerIt still works perfect for me.
Comment #5
anavarreI tried again both from a local 8.x checkout and directly on simplytest.me (8.x) to rule out any oddity on my local setup and still am able to reproduce in both scenarios. Would a screencast help or do you want to discuss things further in IRC?
Comment #6
dawehnerSure, better than nothing. I tried it yesterday again and it still worked.
Comment #7
olli CreditAttribution: olli commentedLooks like this was introduced in #2177971: Remove bundle_keys annotation and related methods.
Comment #8
BerdirFix looks good, I think @dawehner was missing the "of type User" part, which doesn't make sense to have and the patch from @olli removes. Do we need a test for this?
Comment #9
dawehnerNope, I created user views. I can read.
Comment #10
olli CreditAttribution: olli commentedComment #12
BerdirThanks, looks good to me :)
Comment #13
alexpottCommitted 67c051d and pushed to 8.x. Thanks!