We're running 8.3.9 (working on upgrading). We installed JSON API 8.x-1.15, and we came across the following error:
PHP Fatal error: Trait 'Drupal\Core\TypedData\ComputedItemListTrait' not found in /mnt/www/html/tektronixdev/docroot/modules/contrib/jsonapi/src/Field/FileDownloadUrl.php on line 17 request_id="v-2b29e062-41c4-11e8-be00-22000a5a02ca"
We found that Drupal\Core\TypedData\ComputedItemListTrait.php doesn't exist until D8.4.3. So the dependency in jsonapi.info.yml should specify that as the minimum version required.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2961562-4.patch | 408 bytes | gabesullice |
Comments
Comment #2
wim leersDrupal 8.3 has not been supported for many months. Drupal 8.5 is the only supported version. You're right though that we should've updated
to
Comment #3
wim leersAssigning to Gabe to get his thoughts.
Comment #4
gabesulliceAgreed. Let's do it. We can't support unsupported minors. If updating a core version breaks other things, that's a major problem w/ core, not JSON API.
Comment #5
bwinett commentedI tested it against D8.5.2, and it worked fine.
Comment #6
wim leersI was gonna say that we could copy paste 8.4.3's class into JSON API and use that instead; then this could still work in 8.3.
But … 8.3 is >1 year old at the moment (released April 5, 2017). It no longer gets security updates. You really really should update anyway.
So, let's do this!
Comment #7
wim leersComment #9
wim leers