Problem/Motivation

There appear to be a couple of typos in the webform_handler_filter_submission_data class in the definition of the less than operator.

Proposed resolution

Fix the typos.

Remaining tasks

Review and test.

User interface changes

None.

API changes

None.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

solotandem’s picture

Status: Active » Needs review
FileSize
988 bytes

Attached patch implements proposed resolution.

DanChadwick’s picture

Category: Task » Bug report
Status: Needs review » Fixed

Thanks for the excellent report and patch. Committed to 7.x-4.x and 8.x.

This is more than a typo -- the operator used was wrong, so it was functionally wrong too.

One tiny, tiny request for the future: use the patch file name and commit message Drupal conventions. It makes it a little easier for me and you get credit in the commit log. For reference: Advanced patch contributors guide

DanChadwick’s picture

Version: 7.x-4.x-dev » 8.x-4.x-dev
solotandem’s picture

I agree the operator used was wrong, so it was functionally wrong too. Also guessing noone had used this operator or noticed it did not work as expected based on absence of reported issue, so it was kind of just a typo until then. Thanks.

BTW, the aliased link is not working ATM; do you know if that is a problem with D.O.? The node/nid path works.

DanChadwick’s picture

BTW, the aliased link is not working ATM; do you know if that is a problem with D.O.? The node/nid path works.

My error. I created the link backwards. Fixed now in #3. Sorry.

Yes, I suspect this code was written as part of a huge amount of code to implement views support, and this permutation was never tested, nor was ever used by any of the 500,000+ webform installations. Sucks to be a pioneer, doesn't it?

Status: Fixed » Closed (fixed)

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

DanChadwick’s picture

Version: 8.x-4.x-dev » 7.x-4.x-dev