Closed (fixed)
Project:
Agreement
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2024 at 09:55 UTC
Updated:
23 Feb 2024 at 15:49 UTC
Jump to comment: Most recent
Comments
Comment #4
mradcliffeThis is a good idea. Thank you.
I think rather than using UserInterface, we can use AccountInterface, which the User entity also implements via UserInterface.
Comment #5
slowflyer commentedRTBC +1
Comment #6
slowflyer commentedDeprecated function: str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in Drupal\agreement\AgreementHandler->getAgreementByUserAndPath() (Zeile 154 in /mnt/web/mafo/html/modules/contrib/agreement/src/AgreementHandler.php)
Error occurs if:
$public_file_path = $this->settings->get('file_public_path')
$public_file_path is null. Seems php8.2 does not like it.
would fix it.
Comment #7
mradcliffeOkay, made a couple of fixes, and I think this is ready again. Thank you for the review.
Comment #8
slowflyer commentedRTBC +1
Comment #10
mradcliffeMerged. Thank you again for your review and opening up the issue.
I'll make a new alpha release shortly to help in your implementation.