Dev version of the module compatible with D10, but after tryng to enable it I'm getting this error:
TypeError: Drupal\quickbooks_api\Access\AuthAccess::__construct(): Argument #2 ($requestStack) must be of type Drupal\Core\Http\RequestStack, Symfony\Component\HttpFoundation\RequestStack given,
That happens because in D10 the service request_stack now refers to class: Symfony\Component\HttpFoundation\RequestStack and the __construct methods in both AuthController and AuthAccess require Drupal\Core\Http\RequestStack.
For the more details see https://www.drupal.org/node/3265121
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | quickbooks_api-3394915.patch | 1.81 KB | sarwan_verma |
Issue fork quickbooks_api-3394915
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
artem_sylchukCreated the MR with the fix
Comment #4
sarwan_verma commentedHi @alexandersluiter,
I have fixed this issue "Drupal\Core\Http\RequestStack is deprecated, 2.x dev version can't be enabled on D10 " and also attached patch,
please review and verify.
Comment #6
alexandersluiter commentedThank you! I've committed this to 2.x.
Comment #7
alexandersluiter commentedComment #8
alexandersluiter commented