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

Bugfix/65023 #458

Merged
merged 6 commits into from
Aug 2, 2024
Merged

Bugfix/65023 #458

merged 6 commits into from
Aug 2, 2024

Commits on Jul 22, 2024

  1. Adjust file and folder copy/move conflict resolution

    This commit improves the conflict resolution logic when moving or copying files and folders. Instead of checking for conflicts against the ProviderEntry field only, it now also checks the FileConflictResolveType. This change helps to better handle occurrences of duplicate files or folders and to skip certain items as required by the conflict resolution type. Additionally, an empty folders check is included in FolderDao to avoid unnecessary operations.
    pavelbannov committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    1f2c623 View commit details
    Browse the repository at this point in the history
  2. Add FileEntryType to File and Folder DTOs

    Two member variables, FileEntryType, were added to two models: FileDto and FolderDto. This type designation simplifies and clarifies the distinction between file and folder entries within these data transfer objects. Additionally, an abstract FileEntryType was added to the FileEntryDto class.
    pavelbannov committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    9f75d5e View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Fix folder ID assignment in conflict resolution.

    The code previously assigned an empty string to the result on conflict. Now, it correctly assigns the folder ID to ensure proper handling and consistency. This change corrects a logical error that could cause issues in folder management.
    pavelbannov committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    3a19e9f View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Refactor file conflict resolution logic in FileMoveCopyOperation

    Revised the conflict handling to simplify the logic by removing unnecessary checks for the Skip resolution type. The condition now specifically checks for the Overwrite type when processing folders. This change streamlines the code and increases readability.
    pavelbannov committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    edfa98b View commit details
    Browse the repository at this point in the history
  2. Merge branch 'hotfix/v2.6.1' into bugfix/65023

    # Conflicts:
    #	products/ASC.Files/Core/Services/WCFService/FileOperations/FileMoveCopyOperation.cs
    pavelbannov committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    5840835 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Merge branch 'hotfix/v2.6.1' into bugfix/65023

    # Conflicts:
    #	products/ASC.Files/Core/Services/WCFService/FileOperations/FileMoveCopyOperation.cs
    pavelbannov committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    15fc64c View commit details
    Browse the repository at this point in the history