"seperated" should be "separated"

./modules/contrib/views/handlers/views_handler_filter_combine.inc:66: $seperated_fields = array();
./modules/contrib/views/handlers/views_handler_filter_combine.inc:68: $seperated_fields[] = $field;
./modules/contrib/views/handlers/views_handler_filter_combine.inc:70: $seperated_fields[] = "' '";
./modules/contrib/views/handlers/views_handler_filter_combine.inc:73: $expression = implode(', ', $seperated_fields);

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Issue tags: +Novice

Thanks for reporting!

Should be easy to fix by providing a patch.

nagwani’s picture

Patch with spelling mistake fixed

nagwani’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, drupal-spelling_mistake-1844276-2.patch, failed testing.

YesCT’s picture

Status: Needs work » Needs review
FileSize
905 bytes

trying to help @nagwani figure out why it failed to apply for the test bot.

I did:
git clone --recursive --branch 7.x-3.x http://git.drupal.org/project/views.git
cd views
git pull --rebase
git reset --hard
curl -O http://drupal.org/files/drupal-spelling_mistake-1844276-2.patch
git checkout -b spelling-2
git apply --index drupal-spelling_mistake-1844276-2.patch
git status
git diff 7.x-3.x
git diff 7.x-3.x > views-spelling_mistake-1844276-5.patch
history

It applied ok for me. Made a new one anyway to let the testbot try. changing to needs review to trigger the test bot.

Status: Needs review » Needs work

The last submitted patch, views-spelling_mistake-1844276-5.patch, failed testing.

jweowu’s picture

Version: 7.x-3.5 » 7.x-3.x-dev
Status: Needs work » Needs review
jweowu’s picture

bartmcpherson’s picture

So what made it pass the retesting?

jweowu’s picture

Setting the version of the issue to match the branch that the patch was being rolled against. The test bot uses the issue version to check out the appropriate branch from git.

#5 passes now, of course, but you can see in the report for the original failed test in #2 that it was attempting to apply the patch against the 7.x-3.5 branch, and that in the successful re-test after changing the version it is using the 7.x-3.x branch.

nagwani’s picture

Will retesting #2 pass the test now? Just wanted to understand.

jweowu’s picture

Yes, #2 would also pass now if you were to re-test it.

I don't believe there's any additional state stored with an uploaded patch file, so if the patches are identical, they would behave identically when tested in the same context.

dawehner’s picture

Version: 7.x-3.x-dev » 8.x-3.x-dev
Status: Needs review » Patch (to be ported)

That's even a spelling mistake in german :)

Committed that to 7.x, let's forward port that.

mducharme’s picture

Status: Patch (to be ported) » Needs review
FileSize
1.26 KB

Foward port for D8 attached.

dawehner’s picture

Priority: Normal » Minor
Status: Needs review » Reviewed & tested by the community

That's looking fine.

YesCT’s picture

FileSize
4.05 KB

I had trouble getting the patch to apply... what did I do wrong? (see the attached history)

dawehner’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
960 bytes

Oh right, this patch was written against views module as root.

mducharme’s picture

I was wondering about that actually. So the 8,x-3.x repo on the Views project page should no longer be cloned and work is just done right on core?

dawehner’s picture

Project: Views (for Drupal 7) » Drupal core
Version: 8.x-3.x-dev » 8.x-dev
Component: Code » views.module

Right, exactly ...

YesCT’s picture

just tricking testbot.

YesCT’s picture

FileSize
0 bytes

:)

I'm considering getting dreditor to move the save button further away from attach.

YesCT’s picture

FileSize
1.89 KB

Oh, and here is grep showing we got them all.

YesCT’s picture

Status: Needs review » Reviewed & tested by the community
webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

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

Anonymous’s picture

Issue summary: View changes

clarification