mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-28 01:25:52 +03:00
[GH-ISSUE #738] Duplicating rules leads to data loss #736
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#736
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mprice-banno on GitHub (Dec 22, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/738
Originally assigned to: @NghiaTranUIT on GitHub.
Proxyman version? (Ex. Proxyman 1.4.3)
2.15.0 (21500)
macOS Version? (Ex. mac 10.14)
Multiple, 10.15.6 and 10.13.6
Steps to reproduce
It look me a little while to figure out what was happening here, I have 50+ rules, and most of them were created as duplicates of other scripts and then edited. I would come back later and find the script would be incorrect. This was happening a lot.
It's easy to reproduce from a fresh install.
/url1for the URL and add//rule 1at the top of the script./url2for the URL and add//rule 2at the top of the script.At this point the focus has moved from Rule 1 to Rule 2, but the contents of Rule 2's script, are now the same as Rule1's, or possible Rule 1 copy (the second duplication). If you switch back and forth the Rule 2 Name and URL are correct, but the script contents are wrong.
I have confirmed that the on-disk contents of the rule 2 script have been replaced with rule 1's.
This might be hard to follow, so here's a video.
Expected behavior
Screenshots (optional)
@mprice-banno commented on GitHub (Dec 22, 2020):
There is a similar related issue with any of the tools that allow the duplication of a rule, breakpoints, block and allow lists etc.
When you duplicate a rule the focus moves to the rule above, not to the new duplicated rule. No data loss with these rules as far as I can tell.
@NghiaTranUIT commented on GitHub (Dec 23, 2020):
Thanks for the detailed bug report. I'm fixing it now 👍 Will send you a BETA build asap
@mprice-banno commented on GitHub (Dec 23, 2020):
Thanks Nghia!
@NghiaTranUIT commented on GitHub (Dec 24, 2020):
Hey @mprice-banno, this BETA build will fix the bug: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.15.1_Fix_Duplicate_Scripts_Lost_Data.dmg
Please let me know if it works for you 👍
@mprice-banno commented on GitHub (Dec 24, 2020):
Thanks @NghiaTranUIT so far so good! I'll keep testing with it today.
@mprice-banno commented on GitHub (Jan 5, 2021):
No more issues that I've run into since the fix. Thanks @NghiaTranUIT
@NghiaTranUIT commented on GitHub (Jan 6, 2021):
Just a friendly reminder that the latest build 2.15.2 has already included this fix 🙌