Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a require_once to new classes BackupMigrateFilesDestinationConfigSource and BackupMigrateFilesDestinationDbConfigSource #167

Closed
argiepiano opened this issue Jul 13, 2024 · 1 comment · Fixed by #168

Comments

@argiepiano
Copy link
Collaborator

argiepiano commented Jul 13, 2024

The error reported in #158 may be related to the fact that new classes listed on the title of this issue do not use require_once to load their parent classes' files. Since BAM runs on cron, there may be issues with hook_autoload_info() not running, which may explain the errors seen there.

To keep the same pattern used in the rest of the BAM classes, we should instead explicitly load the parent class' file.

@argiepiano argiepiano changed the title Add a include_once to new classes BackupMigrateFilesDestinationConfigSource and BackupMigrateFilesDestinationDbConfigSource Add a require_once to new classes BackupMigrateFilesDestinationConfigSource and BackupMigrateFilesDestinationDbConfigSource Jul 13, 2024
@argiepiano
Copy link
Collaborator Author

This is being blocked by #161. As soon as that is merged, I can provide a PR here.

argiepiano added a commit to argiepiano/backup_migrate that referenced this issue Jul 21, 2024
argiepiano added a commit that referenced this issue Jul 21, 2024
Issue #167. Include needed files in BackupMigrateFilesDestinationConfigSource.inc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant