- First commit to issue fork.
- First commit to issue fork.
- Status changed to Needs review
almost 2 years ago 12:39am 7 February 2023 - 🇦🇺Australia Deciphered
Updated MR and Patch, should now be passing tests.
- @deciphered opened merge request.
- Status changed to Needs work
almost 2 years ago 2:36am 7 February 2023 - 🇦🇺Australia Deciphered
It appears that the JSON:API Views exposed sorts provides a different result in Drupal 10, causing the tests to fail.
Further investigation / work required.
- Status changed to Needs review
almost 2 years ago 11:14pm 9 February 2023 - 🇧🇾Belarus e.bogatyrev
Hi everyone,
I checked out the branch 3288151-automated-drupal-10, verified compatibility and discovered the following after scanning issues by the upgrade_status module
drush upgrade_status:analyze jsonapi_views
================================================================================ JSON:API Views, -- Scanned on Fri, 02/10/2023 - 01:52 FILE: web/modules/contrib/jsonapi_views/jsonapi_views.info.yml STATUS LINE MESSAGE -------------------------------------------------------------------------------- Check manually 0 Value of core_version_requirement: ^8.8 || ^9 || ^10 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687. -------------------------------------------------------------------------------- FILE: web/modules/contrib/jsonapi_views/tests/modules/jsonapi_views_test/jsonapi_views _test.info.yml STATUS LINE MESSAGE -------------------------------------------------------------------------------- Check manually 0 Value of core_version_requirement: ^8.8 || ^9 || ^10 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687. -------------------------------------------------------------------------------- FILE: web/modules/contrib/jsonapi_views/composer.json STATUS LINE MESSAGE -------------------------------------------------------------------------------- Check manually 0 The drupal/core requirement is not compatible with the next major version of Drupal. Either remove it or update it to be compatible. See https://drupal.org/node/2514612#s-drupal-9-compatibility. --------------------------------------------------------------------------------
Apart from this I verified the tests. The issue is related to missed parameter (field_identifier: nid) in test view views.view.jsonapi_views_test_node_view.yml
After applying the patch
Compatibility check
================================================================================ JSON:API Views, -- Scanned on Fri, 02/10/2023 - 01:54 No known issues found.
Tests run
PHPUnit 9.6.3 by Sebastian Bergmann and contributors. Testing Drupal\Tests\jsonapi_views\Functional\JsonapiViewsResourceTest ...... 6 / 6 (100%) Time: 01:40.078, Memory: 10.00 MB OK (6 tests, 180 assertions)
Please review the patch.
- 🇦🇺Australia Deciphered
Thanks @e.bogatyrev, that looks great, I'll run a few manual tests, but this looks like it should be good to go for a merge and release.
- Status changed to RTBC
almost 2 years ago 3:09am 10 February 2023 -
Deciphered →
committed d820f708 on 8.x-1.x
Issue #3288151 by Project Update Bot, reenaraghavan, Deciphered,...
-
Deciphered →
committed d820f708 on 8.x-1.x
- Status changed to Fixed
almost 2 years ago 3:10am 10 February 2023 Automatically closed - issue fixed for 2 weeks with no activity.