- πΊπΈUnited States rsnyd
I'm new to patching/contributing, but here's my attempt. Any feedback is MORE than welcome.
- last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago 6 pass, 6 fail - last update
over 1 year ago 7 pass, 4 fail - πΊπΈUnited States rsnyd
Ok,
So after at least getting the patch to apply, I'm at a loss. It seems like I'm getting the same errors as @Berdir. Happy to continue to work on this but I need some guidance. Thank you in advance. - π¨πSwitzerland berdir Switzerland
Since this is also failing on D9 I assume the test fails are already on HEAD, although there is one extra test fail on the D10 patch.
You picked a fairly challenging issue, there is not really a shortcut here, the way forward here is to set those tests up locally, run them, then look at the output to see if you can figure out what's going on. The extra D10 test fail might throw an error or exception, the others are likely a change in Commerce or the Commerce test setup.
- πΊπΈUnited States rsnyd
Here's a patch to just get me to D10. I've removed the tests for now.
- last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - π¨πSwitzerland berdir Switzerland
There is no need to remove tests. Failing tests don't bother your project and it makes further contributions harder. I don't know if there's a difference in non-test code now between those two patches.
- last update
over 1 year ago run-tests.sh fatal error - last update
over 1 year ago run-tests.sh fatal error - Assigned to rsnyd
- Status changed to Needs review
over 1 year ago 4:03pm 9 August 2023 - πΊπΈUnited States rsnyd
@Berdir Thank you for your help. Too many patches and apparently merge requests are the way to go these days. I've made the same changes and left the tests intact. Happy to keep working on this if there are still outstanding issues.
- π΅πΎParaguay rubenjara Paraguay
I have this error when generating a new giftcard Error: Call to undefined method Drupal\mysql\Driver\Database\mysql\Select::accessCheck() line 63 of /commerce_giftcard/src/GiftcardCodeGenerator.php patch #8.
Erasing that line 63 (->accessCheck(TRUE)) I can generate again without failures. - last update
about 1 year ago run-tests.sh fatal error - πΊπΈUnited States rsnyd
@rubenjara,
Are you sure you have the correct permissions set?
- π΅πΎParaguay rubenjara Paraguay
@rsnyd The error happens with the administrator user, permissions are activated. Here's another similar report π Error: Call to undefined method Drupal\mysql\Driver\Database\mysql\Select::accessCheck() Fixed .
- πΊπΈUnited States rsnyd
@rubenjara,
Ok, I understand what you're saying, but I don't see that line of code in this fork/branch. (https://git.drupalcode.org/issue/commerce_giftcard-3295499/-/blob/329549...)@everyone,
This issue is ready for review. Can anyone from the community review and test these changes? - Status changed to RTBC
about 1 year ago 11:03am 21 November 2023 - Issue was unassigned.
- π©πͺGermany Anybody Porta Westfalica
@Berdir: Ping to merge this, if this is fine for you. Is this module eventually even ready for an alpha release to get away from the .dev need?
Once fixed we should start working on the Drupal 11 compatibility. We're not actively using the module, but it looks like Berdir could need some help or active Co-maintainers?
Hi @Anybody: my issue regarding the Drupal 10 installation error was closed because it was considered similar to a post here.
However, this post hasn't been updated in almost a year, and I'm unsure which patch to apply for installing this module on a Drupal 10 website currently. Can anyone provide updated guidance or a relevant patch?
- πΊπΈUnited States rsnyd
@eit2103,
I'm on 10.2.2 and currently using commerce_giftcard in production. Although, I will say, we are currently having issues that I am investigating, but this setup was working until recently.From my composer:
"drupal/commerce_giftcard": "dev-3295499-drupal-10-compatibility",
patches:
"drupal/commerce_giftcard": {
"3180964-5: Theme hook commerce_giftcard_redemption_form not found": " https://www.drupal.org/files/issues/2021-12-13/theme_hook_commerce_giftc... β ",
"3184543: Gift card should generate standard commerce events": " https://www.drupal.org/files/issues/2020-11-24/commerce_giftcard-modify-... β "
}, -
anybody β
committed 6fa9d211 on 2.x authored by
rsnyd β
Issue #3295499 by rsnyd, anybody, berdir: Drupal 11 compatibility and...
-
anybody β
committed 6fa9d211 on 2.x authored by
rsnyd β
Automatically closed - issue fixed for 2 weeks with no activity.