Stanzilla / WoWUIBugs

World of Warcraft UI Bug Tracker
166 stars 7 forks source link

Non crafting order mail returns invalid crafting order data from the API #441

Open plusmouse opened 1 year ago

plusmouse commented 1 year ago

C_Mail.GetCraftingOrderMailInfo has a broken return value on non crafting order mails.

Expected behaviour is for C_Mail.GetCraftingOrderMailInfo to return nil if the mail isn't a result of a crafting order, similar to how GetInboxInvoiceInfo returns nil for mail that isn't from the auction house.

Other options include a specific reason value in the return value to show this isn't the result of a crafting order. At the moment the reason is 0 which corresponds to a successful crafting order.

The function returns this image on this mail image

Similarly for a mail sent between characters it returns image image