When editing a machine name of a View Page (didn't check others) - An uppercase letter gives error text:
"Display name must be letters, numbers, or underscores only." This message while true, is also incomplete in describing the requirements.
Changing this from the words '... letters ...' to '... lowercase letters ...' will provide more useful information.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jshimota01 created an issue. See original summary.

DamienMcKenna’s picture

Project: Views (for Drupal 7) » Drupal core
Version: 8.x-3.x-dev » 8.9.x-dev
Component: User interface » views_ui.module
Priority: Normal » Minor

In Drupal 8 the Views module was added directly to core. As a result, this issue belongs in the core issue queue, hopefully someone will be able to help you there.

No Sssweat’s picture

FileSize
27.01 KB

Was not able to reproduce on 8.8.5

not able to reproduce img

No Sssweat’s picture

Status: Active » Postponed (maintainer needs more info)
No Sssweat’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
No Sssweat’s picture

When editing a machine name of a View Page (didn't check others)

I see now, it's the display machine name (the machine name under the advanced section).

No Sssweat’s picture

Status: Closed (cannot reproduce) » Active
No Sssweat’s picture

No Sssweat’s picture

Status: Active » Needs review
nikunj.shah’s picture

Assigned: Unassigned » nikunj.shah
Lendude’s picture

Status: Needs review » Needs work

Patch doesn't apply, so 'needs work' for that, but the change looks good

AndrewsizZ’s picture

AndrewsizZ’s picture

Status: Needs review » Needs work
Lendude’s picture

Issue tags: +Novice

So the error string is tested in \Drupal\Tests\views_ui\Functional\ViewEditTest::testOtherOptions so that needs an update.

jungle’s picture

Lendude’s picture

Category: Bug report » Task
Status: Needs review » Reviewed & tested by the community

Marking this a task, since it is not actually a bug.

Looks good!

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

  • xjm committed 0e33627 on 9.1.x
    Issue #3103010 by AndrewsizZ, No Sssweat, jungle, Lendude, jshimota01:...

  • xjm committed 8ceb91f on 9.0.x
    Issue #3103010 by AndrewsizZ, No Sssweat, jungle, Lendude, jshimota01:...

  • xjm committed 5a71f0f on 8.9.x
    Issue #3103010 by AndrewsizZ, No Sssweat, jungle, Lendude, jshimota01:...
xjm’s picture

Version: 9.1.x-dev » 8.9.x-dev
Status: Reviewed & tested by the community » Fixed

This is a good improvement. Since it changes a string, it's eligible for backport in beta, up to RC. So we're in time to get this into all of 9.1, 9.0, and 8.9. since those are in beta.

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.