Skip to content

v1.3.2

Latest

Choose a tag to compare

@Dav2070 Dav2070 released this 16 Sep 17:38

Changelog

  • Update davClassLibrary/DataAccess/SyncManager.cs
    • Fix swapped file path and content type arguments when uploading updated files
    • Use named arguments for file uploads to avoid argument mix-ups
    • Skip creating file objects when the local file is missing
    • Handle failed uploads without an error object to prevent null reference exceptions
  • Update davClassLibrary/Controllers/TableObjectsController.cs
    • Validate file paths before uploading files
    • Return a failed upload result for missing or unreadable files instead of throwing an exception
  • Add davClassLibrary.Tests/DataAccess/UploadFailure.spec.cs
    • Verify that missing files fail without making a network request
    • Verify that synchronization uploads the correct file contents and MIME type
    • Verify that transport failures do not cause a secondary null reference exception