Ticket #3908 (closed defect: fixed)

Opened 3 months ago

Last modified 2 months ago

Quiet single file overwrite

Reported by: andrew_b Owned by: andrew_b
Priority: critical Milestone: 4.8.21
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

If target file exists, MC overwrites that file without confirmation.
The bug was introduced in #3149.

How to reproduce:

  1. Create two files: touch a aa.
  2. Stay on "aa".
  3. Make sure that Options/Confirmation?.../Overwrite option is checked on.
  4. Press Shift-F6
  5. Edit the "to:" value to "a" ("a" file exists) and press Enter.

Actual result:
The "a" file is overwritten w/o confirmation.

Expected result:
Since the "a" file exists the confirmation dialog must be shown.

Change History

comment:1 Changed 3 months ago by andrew_b

  • Status changed from new to accepted
  • Owner set to andrew_b
  • Branch state changed from no branch to on review
  • Milestone changed from Future Releases to 4.8.21

comment:2 Changed 2 months ago by andrew_b

  • Votes for changeset set to andrew_b
  • Branch state changed from on review to approved

comment:3 Changed 2 months ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from andrew_b to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

comment:4 Changed 2 months ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.