PennMUSH Community

Ticket #7263 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

@wipe and attribute trees

Reported by: Talvo Assigned to: devteam
Priority: minor Milestone: 1.8.2p4
Keywords: Cc:
Visibility: Public

Description

Hey folks,

When you @wipe an attribute tree, it reports the number of attributes 
removed incorrectly. For instance:

> &a`b`c`d`e me=foo
> th lattr(me/a**)
A  A`B A`B`C A`B`C`D A`B`C`D`E
> @wipe me/a
One attribute wiped.
>th lattr(me/a**)
(nothing)

Also, would it be worth noting in the help for @wipe that attempting to wipe 
a branch will remove it and all its leaves? I think that behaviour differs 
from all other commands when given a single branch attribute, and came as a 
bit of a suprise to me when I wiped most of an object by mistake ;)

Thanks,
Mike 

Change History

04/24/07 15:53:38 changed by raevnos

  • type changed from incoming to bug.
  • milestone set to 1.8.2p4.

05/03/07 18:08:44 changed by raevnos

  • status changed from new to closed.
  • resolution set to fixed.

Fixed. However, in doing so I discovered that SAFE attributes will get wiped as long as they're not the top-level root of an attribute tree. Oops. Will try to fix with the other open tree ticket for 1.8.2p4/1.8.3p2.