Menu

#505 I get the "without backups" warning even when the "Create backup files" checkbox is checked.

1.7.1
New
nobody
None
High
Defect
2017-11-09
2017-11-08
No

The "are you sure you want to replace blahblah with an empty string without creating backups" msgbox shows when I press "Replace", even if "Create backup files" is enabled.
I've attached a screenshot showing the exact setup (incl. query string, etc) with which I had the problem.

1 Attachments

Discussion

  • Stefan Monov

    Stefan Monov - 2017-11-08

    I just tried answering "yes" to the warning and verified that backup files were created. So the problem is only in the text of the message.

     
  • Stefan Kueng

    Stefan Kueng - 2017-11-08

    That's expected: if the replace string is empty, the warning shows up independently of the "create backup" checkbox. That's to prevent accidental clicks on "replace" instead of "search".
    Also see issue [#440] and [#217].

     

    Related

    Tickets: #217
    Tickets: #440

  • Stefan Monov

    Stefan Monov - 2017-11-09

    Fair enough, I'm not saying that the msgbox should go away. But it'd be good to have the text differ between the "empty replacement string, but backups enabled" and "backups disabled altogether" cases. In the first case it shouldn't include the text "... without creating backups" IMO.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.