Text to go in the release notes:
|
EDI (EDIFACT) transport configuration has been completely refactored to use the unified file transport system introduced in Bug 35761 and Bug 39190, eliminating the duplication of FTP/SFTP server configuration that previously existed between EDI accounts and the file transport administration.
Previously, EDI accounts stored their own FTP/SFTP connection details (host, port, username, password) separately from the FTP/SFTP servers configuration, leading to duplicate maintenance. Now, EDI accounts simply reference a configured file transport, with the transport handling all connection management.
**Key changes:**
- **Unified configuration**: EDI accounts now select an existing file transport for upload and download operations rather than storing duplicate connection details
- **Automatic migration**: Existing EDI transport configurations are automatically migrated to file transport records during upgrade
- **Enhanced transport capabilities**: EDI now benefits from the file transport system's connection testing, status monitoring, and encrypted credential storage
- **New 'local' transport type**: Added support for local directory operations, useful for development and testing
- **Simplified EDI interface**: The EDI account form now uses dropdown selectors for file transports instead of requiring manual entry of connection details
**Technical improvements:**
- Removed 184 lines of legacy FTP/SFTP connection code from `Koha::Edifact::Transport`
- Added `rename_file()` method to transport classes for EDI file processing workflow
- Added `disconnect()` method for proper connection cleanup
- Standardised `list_files()` API across all transport types
- All transport classes now return consistent data structures
**For administrators:**
When upgrading, your existing EDI transport configurations will be automatically converted to file transport records. After upgrade, you'll manage FTP/SFTP credentials in one place (Administration → File transports) rather than duplicating them for each EDI account.
|