[GH-ISSUE #1204] Scripting - Save & Activate doesn't actually enable the rule. #1199

Open
opened 2026-03-03 19:49:14 +03:00 by kerem · 3 comments
Owner

Originally created by @mprice-banno on GitHub (Apr 11, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1204

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version? (Ex. Proxyman 1.4.3)

3.3.0 (30300)

macOS Version? (Ex. mac 10.14)

macOS 12.2.1

Notes

This might not be the intended functionality of Save & Activate, but it is what I thought it did and what I thought I had been using for some time. Unfortunately I was testing something that I didn't want executed on the server, so I had a script configured with Run as Mock API and I typed ⌘S to save and activate to enable it, I then performed the client function to make the API call, and sadly the script wasn't enabled and the API call went through to the backend.

I'm assuming the script edits were saved, but the script rule itself was not enabled.

Steps to reproduce

  • Add a new script, make some edits
  • Type ⌘S to Save & Activate
  • Exercise whatever client you're using to trigger the API call.

Expected behavior

  • The script is saved, and enabled.
  • The Enabled checkbox is checked.

Screenshots (optional)

Originally created by @mprice-banno on GitHub (Apr 11, 2022). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1204 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? (Ex. Proxyman 1.4.3) 3.3.0 (30300) ### macOS Version? (Ex. mac 10.14) macOS 12.2.1 ### Notes This might not be the intended functionality of `Save & Activate`, but it is what I thought it did and what I thought I had been using for some time. Unfortunately I was testing something that I didn't want executed on the server, so I had a script configured with `Run as Mock API` and I typed ⌘S to save and activate to enable it, I then performed the client function to make the API call, and sadly the script wasn't enabled and the API call went through to the backend. I'm assuming the script edits were saved, but the script rule itself was not enabled. ### Steps to reproduce * Add a new script, make some edits * Type ⌘S to Save & Activate * Exercise whatever client you're using to trigger the API call. ### Expected behavior * The script is saved, and enabled. * The `Enabled` checkbox is checked. ### Screenshots (optional)
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 12, 2022):

Thanks. It's definitely a bug. "Save & Activate" should enable the current script too 👍

<!-- gh-comment-id:1096369016 --> @NghiaTranUIT commented on GitHub (Apr 12, 2022): Thanks. It's definitely a bug. "Save & Activate" should enable the current script too 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 12, 2022):

I've fixed with this Beta: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.3.0_Save_script_should_enable_it.dmg

Thanks for opening the ticket @mprice-banno 👍

<!-- gh-comment-id:1096725914 --> @NghiaTranUIT commented on GitHub (Apr 12, 2022): I've fixed with this Beta: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.3.0_Save_script_should_enable_it.dmg Thanks for opening the ticket @mprice-banno 👍
Author
Owner

@mprice-banno commented on GitHub (Apr 13, 2022):

Works great! Thanks @NghiaTranUIT

<!-- gh-comment-id:1098570603 --> @mprice-banno commented on GitHub (Apr 13, 2022): Works great! Thanks @NghiaTranUIT
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1199
No description provided.