|
Yodous Apprentice
Joined: 23 Jun 2004 Posts: 105 Location: Poland
|
Posted: Wed Jun 23, 2010 7:50 pm
[3.20] Bug with %db and using references |
Hello.
I noticed some errors when using %db(variableWithoutAt, "someKey").
Let's say that I have a variable named 'variableWithoutAt' that is Database Record type. After I open the cMud and open a session, all my scripts that are using %db with references, for example mentioned %db(variableWithoutAt, "someKey"), return no value. I have to open Package Editor and find those variable, simply click on them and close the Package Editor, to force the script to work.
I also noticed that when the variable doesn't have Database Record, but Autotype (for example from old script before the update), functions %db (and others) returns no value when using reference. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Jun 23, 2010 7:58 pm |
I cannot reproduce this problem. Perhaps you can post the XML for your variables or send me your *.pkg file to sales@zuggsoft.com.
Here is a test that I just ran:
Code: |
dbvar={name=zugg|level=20}
#show %db(dbvar,name) |
worked fine and displayed "zugg"
For the issue with the variable that does not have a Database record, I also need to see the XML import value for this. Any autotype variable should still work properly with %db and I also cannot reproduce this problem.
Remember when making a bug report that you need to post an exact procedure for me to reproduce the bug. If I can't reproduce it, I can't fix it. |
|
|
|
Yodous Apprentice
Joined: 23 Jun 2004 Posts: 105 Location: Poland
|
Posted: Wed Jun 23, 2010 8:17 pm |
I sent You an e-mail with a topic named "Bug with %db and using references"
Best regards
Yodous |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Jun 23, 2010 9:53 pm |
Got the file and will let you know tomorrow what I find.
|
|
|
|
Yodous Apprentice
Joined: 23 Jun 2004 Posts: 105 Location: Poland
|
Posted: Wed Jun 30, 2010 9:43 pm |
Even after update to 3.21 I've this problem Zugg. Any ideas?
|
|
|
|
GeneralStonewall Magician
Joined: 02 Feb 2004 Posts: 364 Location: USA
|
Posted: Wed Jun 30, 2010 10:45 pm |
Did you happen to use any of the 3.19a-f versions? One of them might have messed up some of your variables.
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Jun 30, 2010 11:52 pm |
Yep, I got it and reproduced the error. It's on the bug list and should be fixed for the next version.
|
|
|
|
|
|