DD-382 : Activation state should be unchanged when reassigning listing id
parent
56b1f3d881
commit
137185c2a9
|
|
@ -1582,11 +1582,11 @@ bool LLMarketplaceData::associateListing(const LLUUID& folder_id, const LLUUID&
|
|||
associateSLMListing(folder_id, listing_id, version_id, source_folder_id);
|
||||
|
||||
// Update the other values as required
|
||||
bool is_listed = false; // a listed listing cannot be reassociated
|
||||
bool is_listed = getActivationState(source_folder_id); // Use the activation state of the source listing
|
||||
S32 count = -1; // count on hand must be set according to the new active version folder if any
|
||||
if (version_id.notNull())
|
||||
{
|
||||
count = compute_stock_count(version_id, true);
|
||||
count = compute_stock_count(version_id, true); // Use the stock count of the new listing
|
||||
}
|
||||
|
||||
// Post the listing update request to SLM
|
||||
|
|
|
|||
Loading…
Reference in New Issue