From 43745ce2714eca8dce95e08a89eeb3c278b0be3f Mon Sep 17 00:00:00 2001 From: Merov Linden Date: Sun, 16 Nov 2014 14:26:33 -0800 Subject: DD-281 : Do not unlist listings that go out of stock --- indra/newview/llinventoryfunctions.cpp | 5 ++--- indra/newview/skins/default/xui/en/strings.xml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp index e5a515383e..a11339358a 100755 --- a/indra/newview/llinventoryfunctions.cpp +++ b/indra/newview/llinventoryfunctions.cpp @@ -1565,14 +1565,13 @@ bool validate_marketplacelistings(LLInventoryCategory* cat, validation_callback_ cb(message,LLError::LEVEL_ERROR); } } - // If this is a legit but empty stock folder, raise an error else if ((folder_type == LLFolderType::FT_MARKETPLACE_STOCK) && (depth > 2)) { - result = false; + // If this is a legit but empty stock folder, warn only (listing must stay searchable when empty) if (cb) { std::string message = indent + cat->getName() + LLTrans::getString("Marketplace Validation Error Empty Stock"); - cb(message,LLError::LEVEL_ERROR); + cb(message,LLError::LEVEL_WARN); } } else if (cb) diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml index 66fe9f2931..892aed390a 100755 --- a/indra/newview/skins/default/xui/en/strings.xml +++ b/indra/newview/skins/default/xui/en/strings.xml @@ -2308,7 +2308,7 @@ This feature is currently in Beta. Please add your name to this [http://goo.gl/f : Error: : Warning: : Error: version folder must contain at least 1 item - : Error: stock folder must contain at least 1 item + : Warning: stock folder must contain at least 1 item No errors Error: Before sending items to the Marketplace you will need to set yourself up as a merchant (free of charge). -- cgit v1.2.3