Closed (fixed)
Project:
Backup and Migrate: AWS S3
Version:
5.0.x-dev
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 May 2020 at 12:42 UTC
Updated:
4 Mar 2022 at 02:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ashutosh.mishra commentedComment #3
ashutosh.mishra commentedComment #4
kristen polComment #5
naresh_bavaskari found some deprecation code in module:
Comment #6
kunalgautam commentedComment #7
kunalgautam commentedComment #8
meghasharma commentedComment #9
meghasharma commentedplease ignore this patch
Comment #10
meghasharma commentedsome extra spaces errors has fixed..
Comment #11
gauravvvv commentedPatch #10 Works fine for me, Adding a after patch screenshot for reference.
RTBC +1
Comment #12
gauravvvv commentedComment #13
markdorisonAny chance we can get this patch committed and maybe even get a new release cut?
Comment #14
rohnjeynolds commented+1 for getting patch #10 committed.
Comment #15
rohnjeynolds commentedThis patch incorporates #10 and makes other updates that, for me, make this module truly functional with Drupal 9.1x. Namely:
With `core_version_requirement: ^8 || ^9` still missing from the info file, the module still has to be downloaded and installed manually, instead of properly via Composer, before this patch can even be applied. So chicken-and-egg.
Comment #16
rohnjeynolds commentedOne more patch: The #15 patch left some parse errors behind. This patch clears those errors by having the abstract methods AmazonS3Destination::saveFileMetadataArray() and AmazonS3Destination::loadFileMetadataArray() return empty arrays. I trusted the existing code comments and didn't reverse-engineer deeply enough to know if this is the best solution, but the module works and no obvious harm is caused.
Comment #17
timefor commented#16 seems to patch fine and work for me on D9.2. +1 for getting this committed
Comment #18
webrole commentedDependency for this is defined as drupal/backup_migrate 4.1
Where as, backup_migrate is D9 ready from 5.0
Would like this dependency to be changed. Can someone guide me what is the best way to go about it?
Comment #19
damienmckennaWhen you update to B&M 5.0.x you'll discover that the custom class namespace doesn't work anymore, you'll have to move the custom classes into the main module directory structure and make them PSR-4 compatible. You'll then be able to remove the autoloader logic from the module file.
Comment #21
webrole commentedDependency is defined to be backup_migrate:4.1 which is not D9 ready.
Should modify the dependency to be backup_migrate:5.0
Also created a merge request
https://git.drupalcode.org/issue/backup_migrate_aws_s3-3136520/-/merge_r...
Comment #23
webrole commentedComment #24
webrole commented@DamienMcKenna
Sorry missed your comment. Will look into that too. Thanks
Comment #26
geoanders commentedPlease see latest branch.
Comment #27
geoanders commented