When creating or editing a view display, it is possible to edit the machine name for that display. The field that captures this value does not appear to properly validate the machine name entered. I have encountered an error related to this and specifically to the Block display type. I have left the component set to misc., as I could see this improper validation causing problems in other areas. To recreate the block-related issue, follow the steps below

To recreate:
1) Add a block display to a view.
2) Edit the Machine Name to a value containing white space, e.g. "My Block Display"
3) Perform the other basic configuration of the view and save it.
4) Navigate to the Blocks admin page and attempt to set the block to be displayed in some region
5) Save the Block configuration.
6) Look for the block for the view, it is still located in the Disabled list of blocks.

I would expect a validation error of the machine name to occur, preferably after step 2, but certainly after step 3 above.

As I said, I encountered an issue with this for the block display. However, a machine name with white space could certainly cause other issues.

CommentFileSizeAuthor
#1 field1.png12.01 KBdawehner
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)
FileSize
12.01 KB

It runs a validation here.

Can you please test the dev version, this might got fixed in the meantime.

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
SchwebDesign’s picture

thanks, i experienced this problem as well, and found this issue from http://drupal.org/node/1066036 . I fixed the machine name and sure enough things worked as expected. tried the latest dev from 6/25 and that validates as expected