- 🇦🇺Australia seamus_lee
I have attached a patch that I worked on for a client site that had this same problem, It is slightly different in that I stuck with using the database but I instantised 2 database arrays as per civicrm entity which provides d9 views integration and modified the database query appropriately. That being said I think with the API or database way it is a bit of 6 of 1 half a dozen of the other, I'll let the maintainers decide which way they want to go.
- First commit to issue fork.
- Merge request !2Patch proposed by jonhalle to correct error with a single database → (Closed) created by olivierh65
- 🇫🇷France olivierh65
In created a PR to implement corrections proposed by jonhalle.
I've not tested it on 2 databases (one for drupal, an another for civicrm). - 🇨🇦Canada nubeli
@seamus_lee your patch gives this error: "Class "Drupal\civicrm_member_roles\Database" not found". Need to add
use Drupal\Core\Database\Database;
I think. - Status changed to RTBC
over 1 year ago 3:34pm 4 July 2023 - 🇨🇦Canada nubeli
The MR https://git.drupalcode.org/project/civicrm_member_roles/-/merge_requests/2 works for me. The code looks good to me.
-
sadashiv →
committed 145c89d0 on 8.x-1.x authored by
pradpnayak →
Resolve #3270435 "Synchronization error patch 4ef2"
-
sadashiv →
committed 145c89d0 on 8.x-1.x authored by
pradpnayak →
- Status changed to Fixed
12 months ago 8:57am 28 November 2023 Automatically closed - issue fixed for 2 weeks with no activity.