Inventory Item name is lost on move using InventoryManager.MoveItem

Description

When moving inventory using MoveItem(UUID itemID, UUID folderID) it calls MoveItem(itemID, folderID, String.Empty);

Passing String.Empty as the newName updates the _Store with the empty string.

The attached patch allows MoveItem(UUID itemID, UUID folderID) to be called without affecting the inventory store.

Steps to Reproduce

  1. Fetch an inventory item -> InventoryItem item = Client.Inventory.FetchItem (<SomeItem>, Client.Self.AgentID, 5000);

  2. Move that item -> Client.Inventory.MoveItem(item.UUID, <SomeFolder>);

  3. Read the name property of the item -> item.Name

The read name will be String.Empy

Assignee

Latif Khalifa

Reporter

Blake Bourque

Severity

None

Environment

All

Fixed in Revision

None

Components

Fix versions

Affects versions

Priority

Minor
Configure