Closed (fixed)
Project:
Feeds Tamper
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
28 Feb 2018 at 20:05 UTC
Updated:
23 Mar 2018 at 07:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
max-kuzomko commentedFixed, needs review.
Also found a bug with updating feeds tampers - after update the uuid of the tamper is null. Fixed it also.
Comment #3
megachrizGood work, Max!
I've reviewed the code and made the following changes:
t()call toTamperDeleteForm::getQuestion. If possible, only string literals should be passed tot().TamperFormTrait::assertTamperI documented that the method can throw an exception.@todo. Not sure if there is a coding standard for this, but I usually see todo's documented in this form.I also tried the new functionality in action and can confirm that a plugin gets properly deleted!
One note: after deleting you do get to a page not found page, but I know that is because the Tamper overview page is not yet implemented.
If you are okay with the changes, I'll commit the patch.
Comment #4
max-kuzomko commentedSounds great! I am fine with the changes.
Thank you, @MegaChriz!
Comment #6
megachrizThanks for reporting back! Committed #3.