Skip to content

DT Migration Plugin - Troubleshooting Of Abrupt Migration Flow Stops#18

Merged
corsacca merged 9 commits intoDiscipleTools:masterfrom
kodinkat:dt-migration-plugin-abrupt-stop-troubleshooting
May 6, 2026
Merged

DT Migration Plugin - Troubleshooting Of Abrupt Migration Flow Stops#18
corsacca merged 9 commits intoDiscipleTools:masterfrom
kodinkat:dt-migration-plugin-abrupt-stop-troubleshooting

Conversation

@kodinkat
Copy link
Copy Markdown
Collaborator

  • Resolved No migration file loaded or payload expired. Please upload the file again. error; by replacing time limited transient approach.
  • Introduced the ability to better manage past migration job runs.
Screenshot 2026-04-27 at 13 01 32 --- Screenshot 2026-04-27 at 13 02 23 --- Screenshot 2026-04-27 at 13 03 28 --- Screenshot 2026-04-27 at 13 04 24 --- Screenshot 2026-04-27 at 13 06 13 --- Screenshot 2026-04-27 at 13 06 40 --- Screenshot 2026-04-27 at 13 08 00 --- Screenshot 2026-04-27 at 13 08 56 --- Screenshot 2026-04-27 at 13 20 40 --- Screenshot 2026-04-27 at 13 21 14 --- Screenshot 2026-04-27 at 13 22 10 --- Screenshot 2026-04-27 at 13 23 28 --- Screenshot 2026-04-27 at 13 25 39

kodinkat and others added 9 commits April 27, 2026 13:56
- Introduced a new class, Disciple_Tools_Migration_File_Job_Store, to handle file-mode migration job storage and management.
- Added functionality for scheduling and pruning expired file migration jobs based on user-defined retention settings.
- Enhanced the import process with AJAX actions for file job completion, failure, and cancellation notifications.
- Updated the admin interface to support file job management, including displaying past jobs and their statuses.
- Improved settings to allow configuration of maximum age for stored file migration jobs, defaulting to 7 days.
- Refactored import logic to accommodate file job handling, ensuring better user experience and error management.
…n plugin

- Updated README.md to clarify the file import process, including the new **Upload & Preview** feature and its role in creating file migration jobs.
- Expanded user guides to include details on managing recent file migration jobs, including status tracking and retention settings.
- Added troubleshooting tips for common issues related to file import jobs, ensuring users can effectively resolve problems during migration.
- Introduced new images to illustrate file job management and settings for better user understanding.
- Updated the resolve_file_job_payload method to improve input sanitization using filter_input and sanitize_text_field for better security.
- Enhanced error handling for job ID retrieval in multiple AJAX methods, ensuring consistent validation and improved user feedback.
- Clarified documentation for the resolve_file_job_payload method, specifying the requirement for nonce verification before execution.
- Adjusted file name handling in the import tab to utilize wp_unslash and sanitize_file_name for improved file upload security.
- Updated variable names for clarity, changing `$upload_name` to `$raw_name` to better reflect its purpose.
- Ensured consistent sanitization of client-provided file names using `wp_unslash` and `sanitize_file_name`, enhancing security in the import process.
…oting

# Conflicts:
#	admin/class-dt-migration-import-ajax.php
#	admin/class-dt-migration-tab-settings.php
@corsacca corsacca merged commit 1df4801 into DiscipleTools:master May 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants