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

fix: Copy the file from FTP to the desktop and prompt that the file already exists on the desktop, but it does not actually exist on the desktop #2063

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

liyigang1
Copy link
Contributor

Using the kstandardcopyname attribute of dfileinfo to obtain a null value resulted in using the kstandardfilename attribute of dfileinfo

Log: Copy the file from FTP to the desktop and prompt that the file already exists on the desktop, but it does not actually exist on the desktop
Bug: https://pms.uniontech.com/bug-view-262105.html

…lready exists on the desktop, but it does not actually exist on the desktop

Using the kstandardcopyname attribute of dfileinfo to obtain a null value resulted in using the kstandardfilename attribute of dfileinfo

Log: Copy the file from FTP to the desktop and prompt that the file already exists on the desktop, but it does not actually exist on the desktop
Bug: https://pms.uniontech.com/bug-view-262105.html
@deepin-ci-robot
Copy link

deepin pr auto review

关键摘要:

  • docutfilesworker.cpp中,将DFileInfo::AttributeID::kStandardCopyName更改为DFileInfo::AttributeID::kStandardFileName可能会影响文件操作的预期行为,需要确认这是否是预期的更改。
  • fileoperatebaseworker.cppdocopyfromtrashfilesworker.cpp中,同样将DFileInfo::AttributeID::kStandardCopyName更改为DFileInfo::AttributeID::kStandardFileName,需要验证这是否符合预期的文件属性更改。
  • dorestoretrashfilesworker.cpp中,将DFileInfo::AttributeID::kStandardCopyName更改为DFileInfo::AttributeID::kStandardFileName,需要验证这是否符合预期的文件属性更改,以及是否会影响文件恢复操作的执行。

是否建议立即修改:

  • 是,需要确保这些更改是必要的,并且不会引入新的错误。如果这些更改不是预期的,应立即回退这些更改。

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: liyigang1, max-lvs

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@liyigang1
Copy link
Contributor Author

/merge

@deepin-bot deepin-bot bot merged commit 0ef4bd9 into linuxdeepin:master Jun 28, 2024
23 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.

3 participants