Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Gábor Hojtsy’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, drupalpostform.patch, failed testing.

Gábor Hojtsy’s picture

There are two more fail types due to core changes:

1. Seems like picture mappings cannot be created anymore in the simple way we have in the test, we need a breakpoint group.
2. Contact category titles are not applied to the displayed contact form anymore (which sounds like regression).

The above cannot be committed until we fix these two because testbot will not test any more patches out of a 8.x-1.x branch failing state. :/

Gábor Hojtsy’s picture

Title: drupalPost => drupalPostForm() in tests » drupalPost => drupalPostForm() in tests and other core fails
Gábor Hojtsy’s picture

Gábor Hojtsy’s picture

Status: Needs work » Needs review
FileSize
10 KB

This includes a simple fix for the picture formats, enabled toolbar, so a breakpoint group is created by that. We also need #2093027: Regression: contact category titles not used for page title anymore land for this to pass, but now should only fail on contact categories.

Status: Needs review » Needs work

The last submitted patch, configformtestfail.patch, failed testing.

Gábor Hojtsy’s picture

Status: Needs work » Needs review

#6: configformtestfail.patch queued for re-testing.

Status: Needs review » Needs work

The last submitted patch, configformtestfail.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review

#6: configformtestfail.patch queued for re-testing.

Status: Needs review » Needs work

The last submitted patch, configformtestfail.patch, failed testing.

tstoeckler’s picture

Status: Needs work » Needs review
FileSize
10 KB

Re-uploading patch, since the core issue went in.

tstoeckler’s picture

Issue tags: +prague2013

Also tagging.

Status: Needs review » Needs work

The last submitted patch, configformtestfail.patch, failed testing.

tstoeckler’s picture

I'm looking at the test fails now. Not assigning yet, as I'm not sure I'll find anything of use...

tstoeckler’s picture

Assigned: Unassigned » tstoeckler

I'm getting some errors in the contact category UI, so it seems there is in fact something for me to fix here.

tstoeckler’s picture

So the notices that I had were bogus (I was trying to create a translation for a language I hadn't added yet).

But I can reproduce the problem the test fails on. When you have a translated contact category, the site title is not the translated contact label, but the English one. That's because the contact category object you get is in fact the English one, not the one with the different langcode. I'm not yet sure why that is.

tstoeckler’s picture

Assigned: tstoeckler » Unassigned

Unblocking this for now.

Gábor Hojtsy’s picture

I think the config translation for contact categories are failing because the entity is loaded in the request upcasting before the language is made active in the request :/

tstoeckler’s picture

Status: Needs work » Postponed
webflo’s picture

The patch from #3 works with #2094797.

Gábor Hojtsy’s picture

Status: Postponed » Needs review
FileSize
10.2 KB

Now includes workaround for core bug so we can move on until that is fixed.

Gábor Hojtsy’s picture

Status: Needs review » Fixed

Commited this. We should remove the @todos later on when #2094797: Config entities upcast from the request always get default language context lands.

Gábor Hojtsy’s picture

Status: Fixed » Needs review
FileSize
796 bytes
Gábor Hojtsy’s picture

Status: Needs review » Fixed

Yay, this test is now back in action!

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