Closed (fixed)
Project:
Search API Solr
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Mar 2019 at 17:20 UTC
Updated:
26 Apr 2020 at 09:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sergiu stici commentedHere is the patch, please review.
Comment #3
aspilicious commentedSeems fine...
Tests only work on travis I guess?
Comment #4
mkalkbrennerPatch doesn't apply
Comment #5
idebr commentedRerolled the patch against 8.x-3.x. Also ported a Simpletest to PHPUnit that I'm pretty sure was not working before, since it contains text assertions for Search API Database defaults instead.
Comment #7
mkalkbrennerSo we have one task left. But we need to check how to deal with Drupal 8.6 first.
Comment #9
mkalkbrennerNext:
Comment #10
berdirWorked a bit on this.
Note that drupal-check doesn't find all deprecations, specifically not dynamic stuff. For example, config entities since 8.0 I think require the config_export property, I'm not sure if I added that properly everywhere, the parent class has for example a label and recommended property but that doesn't seem to be overridden/subclasses/defined in the schema anywhere, so I didn't add it. Another common dynamic deprecation is the new $defaultTheme property that need to be added to functional tests, didn't do that yet.
I also used the new core_version_requirement key that you can add since 8.7.7 (lower versions will throw a parse error due to missing core key and disallow install/update), as that is required to actually install this on D9.
This is now automatically added as a requirement to composer.json on drupal/core, so I also removed the conflict line and it also removes the need for the drupal:system 8.7 dependency.
I only did run some of the tests, as I didn't actually have a solr version installed, at least not in the way that the tests expect it.
Comment #11
berdir(To see these make sure SYMFONY_DEPRECATIONS_HELPER is set to strict)
Comment #12
mkalkbrennerhttps://www.drupal.org/node/2949023
Comment #14
berdirNote: #3123377: Drupal 9 readiness should unblock travis from running against D9.
Comment #15
douggreen commentedRerolled patch because core_version_requirement has already been committed.
Comment #16
berdir@douggreen: The entity type annotation changes were committed too and I think are duplicated now in your patch?
The only thing left here is the file system change, and is part of my PR: https://github.com/mkalkbrenner/search_api_solr/pull/54
Comment #17
mkalkbrennerWe have first successful builds on travis-ci for Drupal 9. Unfortunately travis-ci is under maintenance at the moment so we can't see what is going wrong in cloud mode.
Comment #18
mkalkbrennerThe failures in cloud mode were caused by the latest changes in solarium master.
If these builds succeed, we could close this issue here:
https://travis-ci.org/github/mkalkbrenner/search_api_solr/builds/673902806
Comment #19
mkalkbrennerI think we're done for now. If anything occurs we should open additional small issues. Thanks for your contribution.