Comments

Vishalghyv created an issue. See original summary.

vishalghyv’s picture

Priority: Normal » Major
vishalghyv’s picture

Status: Active » Needs review
StatusFileSize
new665 bytes

If One would want different status can change in Rule, But I thought there should be a default option to reflect

vishalghyv’s picture

StatusFileSize
new550 bytes
amjad1233’s picture

Status: Needs review » Needs work

Is it possible to add some automated tests?

vishalghyv’s picture

Status: Needs work » Needs review
StatusFileSize
new2.26 KB

Sure,
Will add UI test once tests in #3142694: Improving Tests for Commerce Fraud are commited,
Change from store admin to store customer allowed the test to pass

Status: Needs review » Needs work

The last submitted patch, 6: commerce_fraud-order_status-3137543-6.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

vishalghyv’s picture

Rule is not active in this is the reason for it failing

vishalghyv’s picture

Status: Needs work » Needs review
StatusFileSize
new2.8 KB
derekcresswell’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

  • joshmiller committed adba4d5 on 7.x-1.x authored by Vishalghyv
    Issue #3137543 by Vishalghyv, amjad1233, DerekCresswell, joshmiller:...
joshmiller’s picture

Status: Reviewed & tested by the community » Fixed
StatusFileSize
new285.66 KB

Ok, so the patch works for newly installed modules. This doesn't effect any currently installed site, but it does provide a much less buggy first impression.

While committing, I cleaned up the "setup" function so it would enable the rule we wanted. This feels cleaner than the hook definition function call thing that was in the patch.

Status: Fixed » Closed (fixed)

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