 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Sat Jun 19, 2010 10:52 pm
[3.20] BUG: making a stringlist in the Package Editor |
Creating stringlists using code seems to work great. However:
In a blank session:
Open the Package Editor
Create a new variable
Make it a type stringlist
Add five or six values to the variable
Click Save
Now, click to another item and back, or display the value of the variable
You will see that only the last value, or possibly a few values, exist in the variable. The other values are blank. |
|
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4790 Location: Pensacola, FL, USA
|
Posted: Sun Jun 20, 2010 5:06 am |
On a similar note, you can no longer use the down arrow to make a new member of a string list.
You have to click save or the plus to make a new, empty line appear. |
|
|
|
 |
GeneralStonewall Magician
Joined: 02 Feb 2004 Posts: 364 Location: USA
|
Posted: Sun Jun 20, 2010 7:39 am |
Should still be able to hit enter to create a new item, yeah?
|
|
|
|
 |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Sun Jun 20, 2010 7:15 pm |
Was just getting ready to post on this. I made the mistake of trying to add a new trigger to a stringlist of triggers and the same thing happened. The value I added vanished and it left a blank row so my trigger was firing on every line received from the MUD. I wasn't able to add a new item through the editor at all.
|
|
|
|
 |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Sun Jun 20, 2010 8:18 pm |
By the way, this is a major problem with data integrity. I've lost some data already. I have a backup, but it is still a major problem.
|
|
|
|
 |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Sun Jun 20, 2010 8:26 pm |
Here is an example of this problem. I opened an untitled session and created a string list variable. I then added the following items:
This is one string\.
This is a second string\.
This is a third string\.
This is a fourth string\.
I then clicked save and click on the untitled window and then back to the variable in tree view and the following is what it showed was saved.
| Code: |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<var name="myStringList" type="StringList" copy="yes">
<value>This is a fourth string\.|||</value>
<json>["This is a fourth string\.",null,null,null]</json>
</var>
</cmud>
|
As you can see, three of the items were replaced with null values and the data was lost to oblivion. |
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jun 21, 2010 4:42 pm |
Confirmed and added to bug list. I probably won't release a new update till the end of the week, so just avoid using the Settings Editor to edit your string lists for now.
|
|
|
|
 |
|
|
|