fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Mar 15, 2016 23:00:38 GMT
AB 6.11 beta seems to have a bug in regards to the editor overwriting existing AFLs having same name as name in editor i.e. if existing already saved file in "Charts" has name "Formula 1.afl" and editor opening with same name (does not have to be the case at the very moment) it would save without warning message to same file name. So it means your previously saved content would be lost.
In previous final versions AB would skip existing file names and would suggest a different one i.e Formula 2.afl etc (and if file would still be tried to be saved to same name and to same location then a warning message would appear there).
So take care if your file is an important one!!
6.11 is beta!
You have been warned.
Use it just for testing.
For anything serious use official release 6.10!
EDIT: probable bug is present in 6.12 beta too
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Apr 1, 2016 22:14:48 GMT
Guys, I need your help, please. Please try the following 10 step procedure using 6.11 AB beta. Best use a virtual machine like VirtualBox if you have one. Also I have made a video www.fastswf.com/1gDkx5IHere is the 10-step procedure. Please follow exactly. Do the test on an empty "Custom" folder!(Formula 2 and Formula 4 are just example, BTW. Your numbering after "Formula .." may be different. Just follow accordingly) 1. First we create a file from empty formula editor window being opened from tool bar 2. Writing some comment like // formula 2 3. Saving the AFL 4. Closing editor 5. Re-opening editor from toolbar to see which one is next suggested formula name 6. Closing editor again 7. Renaming created file of Charts window from Formula 2 to Formula 4 (formula number of point 5. -> 3+1 = 4) 8. Opening editor from toolbar again (normally Formula 4 naming should be skipped by AB but as you can see in the video it doesn't. So this is the first undesired issue not present in 6.10 for example.) 9. Next we write some new comment like // formula 4 in new empty editor as proof to be sure whether file content gets overwritten 10. We save the file ( now 2nd odd thing ocurs -> file gets overwritten without warning indeed -> from "// formula 2" content to "// formula 4" content) So to sum it up... AB does not recognize existing formula name and it saves without warning. This behaviour does NOT occur in 6.10 AB final on my end. Please try out if you can. It is important.
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Apr 2, 2016 8:32:59 GMT
Forgot to add (despite of being obvious)… please give feedback whether you have observed same thing or not. You may also use new beta version 6.12 instead of 6.11. It has not changed in that regards. AmiBroker were not able to reproduce (I suspect they missed a step in the 10 step procedure) . So I need some confirmation about whether it is a single case on my PC or not.
Thank you!
|
|
teyano
Private Group
Posts: 27
Received Likes: 5
|
Post by teyano on Apr 2, 2016 12:20:27 GMT
Indeed strange, I'm experiencing the same issue. It seems like the GUI new formula creation counter is not synchronized with the 'stand-alone' file edition and thus not showing any message when an override attempt is being made - this is only my assumption though. Quite dangerous when you work with a lot of AFL's at the same time as you can easily lose track of what happened with you're code. Tested on: - Win 7 64 - AB 6.11 Beta 32 The step-by-step movie can be found under this url: www.filedropper.com/aberrorBest, Tomasz
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Apr 2, 2016 13:18:36 GMT
Thank you for testing and making a video with confirmation! Much appreciated.
So now it is clear that it is not just on my PC and I'm not dreaming. I got another confirmation by another user via email. So three guys observing this changed behaviour in new beta compared to PROPER behaviour in 6.10 final.
|
|
teyano
Private Group
Posts: 27
Received Likes: 5
|
Post by teyano on Apr 2, 2016 19:19:02 GMT
The corresponding test for the 64 version seems to be in-line with the 32 one. The only difference is that now the counter starts from '1' as opposed form '2' when creating new formulas. Step by step video can be found under this url: www.filedropper.com/recording8Best, Tomasz
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Apr 2, 2016 19:47:11 GMT
Thanks for 64bit test. I confirm that. A third user has confirmed now. So as of now it's four people.
As for the counter... it doesn't matter. What matters is that AB beta does not recognize existing files.
In that matter I also want to point out that it is not about renaming. Some people asked in email why the renaming. The renaming of step 7 of the 10 step procedure of post #2 is done to SIMULATE cases where a file of such name already has been existing for a longer time!! If the editor counter at some stage in its cycle would arrive at that number of an already existing file (i.e. Formula 4.afl) then in AB beta it would wrongly open an empty formula window with that very same name instead of skipping it (as it is properly done in AB 6.10 final). So new AB betas do not recognize exiting file names and do not skip. And THAT it is what matters. It is a potential threat for existing file names because it could happen to any file name since the user is never sure whether AB really recognizes it.
|
|
andwilson
Private Group
Posts: 43
Received Likes: 13
|
Post by andwilson on Apr 2, 2016 22:33:43 GMT
Bug reproduced using Win 8.1 Pro and AB 6.12 Beta 32
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Apr 3, 2016 10:15:42 GMT
Thanks AndWilson! I don't know whether this post at Yahoo is as joke or how else it is meant groups.yahoo.com/neo/groups/amibroker/conversations/messages/194085I HAVE sent to support but the problem has been that technical support has not been able to reproduce it yet. I have written multiple 10 step procedures (versions) because for whatever reason it was not clear to support. Even after sending a video (same one as in this thread) it has still not been clear. Now what do they think me to do if it is not clear to them. Exactly, I have to look for confirmation elsewhere. What does Mr. T. Janeczko think is alternative way to bring an obvious risk to attention if it is not recognized by AB themselves yet? Exactly, looking for confirmation elsewhere and at the same time warning other users about a possible risk when testing. Et voila on a single Satureday four people were able to reproduce the difference between 6.11 beta and 6.10 final. How come? So now I wonder whatever reason it is on AB's end. I do not know what it is. I only know that something has changed being a potential risk of saved AFLs being in danger getting overwritten without warning and it is confirmed on several other PCs and OSes. So it's not a made up dream for sure.
|
|
andwilson
Private Group
Posts: 43
Received Likes: 13
|
Post by andwilson on Apr 3, 2016 19:27:34 GMT
Hi fxshrat
I suggest that everyone that can reproduce the bug, send an email to amibroker support.
I sent one!
|
|