Closed (fixed)
Project:
Search API
Version:
8.x-1.x-dev
Component:
Tests
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2017 at 16:54 UTC
Updated:
3 May 2017 at 09:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
drunken monkeySeems the
@deprecatedcomment forNODE_[NOT_]PUBLISHEDis misleading by not mentioning that this only got deprecated in 8.3.We use the constants only in tests, however, so this will only make the tests fail on Drupal 8.2, not break the module itself in any way.
Comment #3
borisson_Instead of doing this, we should depend on 8.3 immediatly, it's been released so in theory there's no more 8.2.x releases coming.
Comment #4
drunken monkeyFirst off, in this specific case, this is just wrong: see this announcement.
Secondly, even if there are no further releases, people will not update right away, and they should still be able to use the Search API stable version right away.
So, fixing this and then requiring 8.3 as a next step, a bit after stable release (maybe when there's 8.3.2) seems like the better option to me.
Is that patch RTBC otherwise, in your opinion?
Comment #5
borisson_Sure, let's fix this and in a followup we can revert this patch and add the 8.3 dependency in a few weeks.
Comment #7
drunken monkeyOK, thanks!
Had that move planned anyways, just search the codebase for "Drupal 8.3". (There might be an issue already, but I'm not sure. Doesn't matter in any case, one of us will have to remember anyways once the next normal 8.3 release is out.)
In any case: committed.