diff options
author | Justin Clark-Casey (justincc) | 2012-06-02 04:57:10 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-06-02 04:57:10 +0100 |
commit | 01a2b0b289933febc95523de02275c9bd573b10e (patch) | |
tree | 3ad8193876370cf4db30738d97c0b01f123100a8 /OpenSim/Services/InventoryService | |
parent | Instead of updating sim stats root agent, child, objects and scripts accounts... (diff) | |
download | opensim-SC-01a2b0b289933febc95523de02275c9bd573b10e.zip opensim-SC-01a2b0b289933febc95523de02275c9bd573b10e.tar.gz opensim-SC-01a2b0b289933febc95523de02275c9bd573b10e.tar.bz2 opensim-SC-01a2b0b289933febc95523de02275c9bd573b10e.tar.xz |
Fix various issues with http inventory
1) The return messages were being wrongly populated with the names of asset, inventory and sale types when their corresponding integers should have been used instead.
2) Folders with links were including the linked items in the descendents figure, when only the links should be included.
3) Links and linked items in link folders were not being included in the return data, and not in the correct order.
Now that these issues have been addressed, outfits and attachments appear to work consistently when HTTP inventory is enabled (as is now the default).
Diffstat (limited to 'OpenSim/Services/InventoryService')
-rw-r--r-- | OpenSim/Services/InventoryService/XInventoryService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/InventoryService/XInventoryService.cs b/OpenSim/Services/InventoryService/XInventoryService.cs index 3355428..7518b86 100644 --- a/OpenSim/Services/InventoryService/XInventoryService.cs +++ b/OpenSim/Services/InventoryService/XInventoryService.cs | |||
@@ -436,7 +436,7 @@ namespace OpenSim.Services.InventoryService | |||
436 | public virtual bool AddItem(InventoryItemBase item) | 436 | public virtual bool AddItem(InventoryItemBase item) |
437 | { | 437 | { |
438 | // m_log.DebugFormat( | 438 | // m_log.DebugFormat( |
439 | // "[XINVENTORY SERVICE]: Adding item {0} to folder {1} for {2}", item.ID, item.Folder, item.Owner); | 439 | // "[XINVENTORY SERVICE]: Adding item {0} {1} to folder {2} for {3}", item.Name, item.ID, item.Folder, item.Owner); |
440 | 440 | ||
441 | return m_Database.StoreItem(ConvertFromOpenSim(item)); | 441 | return m_Database.StoreItem(ConvertFromOpenSim(item)); |
442 | } | 442 | } |