Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
A few changes are needed to make the module compatible with Drupal 10.
Steps to reproduce
Try to install the module with Drupal 10.
Proposed resolution
Fix the Drupal 10 compatibility issues.
Remaining tasks
- Create MR
- Review MR
- Merge MR
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Issue fork jsonapi_page_limit-3360180
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
ricovandevin CreditAttribution: ricovandevin at Finlet for Carwebs commentedComment #4
GoldLooking good, just one small tweak from what I'm seeing.
Commented on the fork.
https://git.drupalcode.org/issue/jsonapi_page_limit-3360180/-/commit/2d3...
Comment #6
bharath-kondeti CreditAttribution: bharath-kondeti as a volunteer and at Specbee commentedUpdated the PR addressing #4. Please review
Comment #7
dineshkumarbollu CreditAttribution: dineshkumarbollu at Valuebound for Valuebound commentedHi
I reviewed the MR it as still one D10 compatible error
vendor/bin/drush upgrade_status:analyze jsonapi_page_limit
[notice] Processing /var/www/html/vb9/web/modules/contrib/jsonapi_page_limit-3360180.
================================================================================
JSON:API Page Limit, --
Scanned on Mon, 06/26/2023 - 14:01
FILE:
web/modules/contrib/jsonapi_page_limit-3360180/src/Controller/EntityResource.php
STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Check manually 22 Class Drupal\jsonapi_page_limit\Controller\EntityResource
extends @internal class
Drupal\jsonapi\Controller\EntityResource.
Comment #8
Eli-T@dineshkumarbollu whilst use of @internal classes is flagged by upgrade status, they aren't necessarily a blocker to Drupal 10 compatibility.
See #3304053-7: Automated Drupal 10 compatibility fixes for similar discussion and linked to further details in Slack.
Unfortunately because JSON:API proudly does not expose an API (because "HTTP is the API"), this kind of mechanism is kind of inevitable.
Comment #9
Eli-TComment #11
Eli-TComment #12
Eli-TLet's drop support for Drupal 8 whilst we're here.
Comment #13
Eli-TActually that should be a separate issue now this one is included in a release.