Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Tue Apr 01, 2008 3:30 pm   

[2.21] Module deletion mishap
 
Deleting a class folder is greatly improved in 2.21, thankfully, but I just now deleted a module (from a package with several modules) and the class folders were dumped in the root folder. Should be easy to reproduce by creating a module with some settings, selecting the module in the tree view, and hitting Delete.

Edit: This isn't just happening when I try to delete modules. It's happening on other packages just on regular class folders...
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Tue Apr 01, 2008 3:56 pm   
 
I've seen this as well, but I hadn't spent the time to create a reproducible sequence. In general most times I've deleted a class it works, but I have seen one case where it dumped items at root.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Apr 01, 2008 5:36 pm   
 
I wasn't able to reproduce this. Here is what I did:

1) Run CMUD, Close Sessions, etc. Open Settings Editor
2) Select Module from New menu. Enter a name "test". Click Save
3) Select Alias from New menu. Enter a name "aaa". Click Save
4) Select Variable from New menu. Enter a name "bbb". Click Save
5) Right-click on "test" module in Tree and select Delete Setting.
6) It prompts for "Delete all settings in 'test'?". Click Yes. All settings in module are deleted.

So, I'll need another procedure that shows the failure.
Reply with quote
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Tue Apr 01, 2008 6:02 pm   
 
It happens when there are lots of child settings, so I re-created it with this code:
Code:
#MODULE "Test"

#LOOP 1,50 {
  #CLASS "class"%i
  #LOOP 1,10 {
    #VAR "var"%i%j "testing"
  }
  #CLASS 0
}


And, then just delete the module "Test" in the PE, using any method you choose.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Apr 01, 2008 6:07 pm   
 
Yep, that did it. Reproduced and added to bug list. Thanks for the procedure.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net