New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AuctionNewTicketWizard exception if Number of Tickets = 0 #114

Closed
davidhabib opened this Issue Jun 15, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@davidhabib
Owner

davidhabib commented Jun 15, 2016

https://powerofus.force.com/0D58000002lIlLb

divide by zero from line 56 when number of tickets = 0.

        // set the per ticket deductible FMV
        if (opp.Number_Of_Tickets__c != null && opp.Auction_Non_Deductible_Amount__c != null)
            decTicketFMV = opp.Auction_Non_Deductible_Amount__c / opp.Number_Of_Tickets__c;
        else
            decTicketFMV = AUC_AuctionMaintenance.TicketNonDeductibleAmountOfAuctionId(auctionId);

@davidhabib davidhabib added the Defect label Jun 15, 2016

@davidhabib

This comment has been minimized.

Owner

davidhabib commented Nov 8, 2017

Fixed in release 4.12

@davidhabib davidhabib closed this Nov 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment