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
on this mail
Similarly for a mail sent between characters it returns
C_Mail.GetCraftingOrderMailInfo
has a broken return value on non crafting order mails.Expected behaviour is for
C_Mail.GetCraftingOrderMailInfo
to returnnil
if the mail isn't a result of a crafting order, similar to howGetInboxInvoiceInfo
returnsnil
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 thereason
is0
which corresponds to a successful crafting order.The function returns this on this mail
Similarly for a mail sent between characters it returns