treviettreviet / chrome-rest-client

Automatically exported from code.google.com/p/chrome-rest-client
0 stars 0 forks source link

Control-S to save over previously saved request (using "Ok", not "Cancel") fails to properly save revision #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to "Current Request" and press "Clear Form"
2. In URL, type "http://www.google.com"
3. Press "Send Request"
4. Press Control-S to save the Request and name it "Test - Bing"
5. Go to "Saved Requests". You will see "Name" as "Test - Bing" and "URL" as 
"http://www.google.com"
6. Press "Select" next to "Test - Bing"
7. Edit the URL, changing it to "http://www.bing.com"
8. Press "Control-S" to save and press "Ok"
9. Go to "Saved Requests"

Result 1
At this point, you will see "Test - Bing" and "http://www.google.com". It 
didn't save the request.  Press "Select" next to "Test - Bing" and you will 
observe that the URL still says, "http://www.google.com"

10. Now, edit the URL, changing it to "http://www.bing.com"
11. This time press "Send request"
12. Press "Control-S" to save and press "Ok"
13. Go to "Saved Requests"

Result 2
As with Result 1, you will see "Test - Bing" and "http://www.google.com". 
However, when you press "Select", you will see that "http://www.bing.com" is in 
the URL. So it seems partially saved.

14. Now, press "Control-S" but instead of "Ok" press "Cancel".
15. Choose to "Overwrite".

Result 3
Now everything is saved properly. The URL shown when you look at the "Saved 
Requests" tab shows "http://www.bing.com" as well as the URL line when you 
press "Select"

What is the expected output? What do you see instead?

On what operating system?
Windows 7, 64-bit. Chrome Version 22.0.1229.94 m

Please provide any additional information below.
After exporting results after step 4, and then try again to export after step 
12, you are told that no changes were made and the export does not occur. It is 
only after 15 that the changes are seen and the export can occur.

Original issue reported on code.google.com by snarglef...@gmail.com on 12 Oct 2012 at 12:27

GoogleCodeExporter commented 9 years ago
Hi. Thanks for report.
In new version this flow has changed and it will be fixed.

Original comment by jarro...@gmail.com on 13 Oct 2012 at 9:43

GoogleCodeExporter commented 9 years ago
Looking forward to it. Thanks!

Original comment by snarglef...@gmail.com on 14 Oct 2012 at 3:38