If you manually add a new display via the UI you get page_1 as display id, though if you just use the wizard you get 'page'.

To be able to fix the issue we should first talk about the actual expected behavior.

Comments

damiankloip’s picture

Assigned: Unassigned » damiankloip

We talked about this on IRC and decided we would like to suffix all displays, so the wizard display creation should start with e.g. 'page_1' and not 'page'.

I will change this, and the tests.

damiankloip’s picture

Assigned: damiankloip » Unassigned
StatusFileSize
new3.97 KB

Lets see how this gets on.

damiankloip’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 1793700-wizard-display-ids.patch, failed testing.

damiankloip’s picture

Status: Needs work » Needs review
StatusFileSize
new11.43 KB

Status: Needs review » Needs work

The last submitted patch, 1793700-5.patch, failed testing.

damiankloip’s picture

Status: Needs work » Needs review
StatusFileSize
new13.7 KB

This one should pass now, he says....

damiankloip’s picture

StatusFileSize
new17.7 KB

Removed todos and updated display ids on default views.

damiankloip’s picture

Title: The wizard creates "page" as first display id even the views UI itself creates page_1 » The wizard creates "page" as first display id even though the views UI itself creates page_1

Status: Needs review » Needs work

The last submitted patch, 1793700-8.patch, failed testing.

damiankloip’s picture

Status: Needs work » Needs review
StatusFileSize
new21.97 KB

Now?

dawehner’s picture

Status: Needs review » Reviewed & tested by the community
+++ b/lib/Drupal/views/Tests/UI/DisplayTest.phpundefined
@@ -85,7 +85,6 @@ class DisplayTest extends UITestBase {
-    // @todo Revising this after http://drupal.org/node/1793700 got in.

I should have known, that AFTER was wrong here.

In theory RTBC, from my perspective.

tim.plunkett’s picture

#11: 1793700-11.patch queued for re-testing.

tim.plunkett’s picture

Status: Reviewed & tested by the community » Fixed

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