Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

changed event not triggered on removal of content

Nathalia Woyseck
Registered User
Join date: 8 Sep 2005
Posts: 3
06-09-2007 01:06
Hello everyone,

i check for change of contents in a prim with the changed event, but it only recognizes when items are added to the contents and not when some are removed. A few weeks ago it was working fine when i used. Is the event broken at the moment?

Edit: I did a couple tests and noticed that the changed event is triggered when i delete an item from the contents, but not when i move a no copy item to my inventory. Shouldn't it trigger the event in that case anyway?
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
06-11-2007 11:41
Actually, the wiki entry http://lslwiki.net/lslwiki/wakka.php?wakka=changed notes that the event is not triggered "when a no-copy item is removed (but not deleted!) from the prim by manually dragged back to user inventory."

It appears to me, though, that the event is also not triggered when another script does llRemoveInventory(), which seems strange enough to make me doubt what I'm seeing. I didn't find anything relevant in a jira search for INVENTORY_CHANGED. Can anybody confirm that this happens and/or that it's expected behavior?
Aaron Edelweiss
Registered User
Join date: 16 Nov 2006
Posts: 115
06-11-2007 12:00
It's been that way for a long time. Bug reported long ago too but probably not since the new bug reporting system came online. I would bug report it again, because it's certainly not the way it should be. removing or deleting something from an objects contents is changing the object, therefore the changed event should fire.
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
06-11-2007 12:15
Thanks! Thought I was going (even more) insane. Bug opened in jira as SVC-304.
JackInThe Schnook
Simboarding! ^_^
Join date: 31 Dec 2005
Posts: 46
06-14-2007 00:00
I cant believe this is not fixed yet