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.
Views UI lets you create/clone views such that there can be a view "Events" and another view "events". Drupal's menu handler however (or perhaps it's the web browsers and/or web servers?) are not case sensitive, so admin/build/views/edit/Events is handled exactly the saem as admin/build/views/edit/events, and only one view is editable.
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedThat's kind of surprising, actually. The same database comparison that loads the view should be used to test for equality during name validation. Annoying edge case!
Comment #2
dawehnerCurrently this is tested by using views_get_view which doesn't check for case-sensitive names.
I'm wondering whether it's better to write a custom sql query for the add-view validation because adding a case-insensitive query might be slower and shouldn't be good for every views_get_view.
Comment #3
MustangGB CreditAttribution: MustangGB commented