If the specified export directory doesn't exist or if the directories permissions are not set correctly so that the web user can write files to the directory, the orders included in the export are updated as though the export was successful but the export fails as no file is written to the export directory.
Cheers,
Antoine
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | uc_edi-943780_1.patch | 2.06 KB | jantoine |
| #1 | uc_edi-943780.patch | 5.54 KB | jantoine |
Comments
Comment #1
jantoine commentedI am attaching a patch with the following changes:
- Updated the manual export submit function to only report a successful export if the file was successfully created, otherwise report an error informing the user that the file could not be created.
- Updated the create export function's main comment to correctly report the return value.
- Updated the create export function to suppress the php warning if the file could not be created.
- Updated the export order function's main comment to correctly report the return value.
- Updated the export order function to only update order statuses and send an email if the export was successful.
Cheers,
Antoine
Comment #2
jantoine commentedA lot of these changes were improved and committed in this issue: #949690: Integrate export functionality with Conditional Actions. The remaining changes can be found in the attached patch and have been committed to head.
Cheers,
Antoine