Support from Acquia helps fund testing for Drupal Acquia logo

Comments

swentel created an issue. See original summary.

Simon Georges’s picture

Hi,
I'm willing to help, since I currently have the issue on one of my site. It's fine when I'm logged in as admin, but as an anonymous user, the search results don't change when changing search term.
So, I simply added a cache url context to fix it, but I'm willing to go further if you can point me in the right direction.

borisson_’s picture

Issue tags: +Needs tests

Should we also add the role cache context or is that one added by default? In any case this is a solid improvement but we should probably also test this.

borisson_’s picture

Status: Needs review » Needs work

NW per #3

borisson_’s picture

Status: Needs work » Needs review
FileSize
3.11 KB

I don't see the problem mentioned in #2. I tried to make a test that failed.

borisson_’s picture

Issue tags: -Needs tests
FileSize
4.47 KB
5.49 KB

Status: Needs review » Needs work

The last submitted patch, 6: 2754411.patch, failed testing. View results

Erik Frèrejean’s picture

Erik Frèrejean’s picture

The tests fail because the searched_fields option isn't added in ::setUpPage().

Erik Frèrejean’s picture

Status: Needs work » Needs review
Erik Frèrejean’s picture

Noticed a small coding standard violation and the todo from the controller can just as well be removed at this point.

DamienMcKenna’s picture

A minor improvement - I made the setUpPage() method more reusable.

Status: Needs review » Needs work

The last submitted patch, 12: search_api_page-n2754411-12.patch, failed testing. View results

DamienMcKenna’s picture

Status: Needs work » Needs review
Related issues: +#3247781: Database update fails, database schema problem on latest release

borisson_’s picture

Status: Needs review » Fixed

Commited and pushed. It improves the situation. Thanks everyone!

Status: Fixed » Closed (fixed)

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