Closed (fixed)
Project:
Search API
Version:
8.x-1.x-dev
Component:
General code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Dec 2018 at 15:04 UTC
Updated:
17 Jan 2019 at 20:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
kashandarash commentedI propose to add moduleExists validation
Comment #3
kashandarash commentedComment #5
drunken monkeyOh, right! Thanks a lot for noticing that!
I don’t know how you created that patch, but it fails to apply no matter what I try. But the approach is off anyways: instead, we should just check if the Node module is enabled right at the start, and bail immediately if it isn’t – no further checks possible/necessary anyways.
Patch attached, please test/review!
Comment #7
drunken monkeyOops, talk about improperly created patches …
Luckily, there is PhpStorm’s “Local history” feature! (OK, in this specific case, re-writing the patch would also not have been an insurmountable problem.)
Comment #8
legolasboThe only issue I've got with this patch is that it's lacking tests, but given the size of the patch and the edge-case of this issue I think that shouldn't be a blocker. Good to go as far as I'm concerned.
Comment #10
drunken monkeyAlright, thanks for reviewing!
Committed.
Thanks again, everyone!