You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Wickersheimer Jeremy (JIRA)" <ji...@apache.org> on 2007/06/26 08:19:25 UTC

[jira] Issue Comment Edited: (OFBIZ-1101) Missing Billing Accounts in Dropdown

    [ https://issues.apache.org/jira/browse/OFBIZ-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508071 ] 

Wickersheimer Jeremy edited comment on OFBIZ-1101 at 6/25/07 11:18 PM:
-----------------------------------------------------------------------

Indeed, and this could be verified easily by doing something like:

if (sortedAccounts.put(new Double(accountAvailable), billingAccount) != null) {
    throw new GeneralException("You trampled a billing account!");
}

Unless there is a specific reason for such a behaviour, i guess it should be fixed by using a List, implementing a  Comparator, and using Collections.sort().

PS: preparing a patch with a sortedlist.


 was:
Indeed, and this could be verified easily by doing something like:

if (sortedAccounts.put(new Double(accountAvailable), billingAccount) != null) {
    throw new GeneralException("You trampled a billing account!");
}

Unless there is a specific reason for such a behaviour, i guess it should be fixed by using a List, implementing a  Comparator, and using Collections.sort().

> Missing Billing Accounts in Dropdown
> ------------------------------------
>
>                 Key: OFBIZ-1101
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1101
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Guido Amarilla
>            Priority: Minor
>
> The dropdown list for billing account selection in Order payment method selection  is not populated with all the billing accounts for the customer. There are missing billing accounts in the selection dropdown.
> I think this happens when the available value in the accounts is the same for two or more billing accounts of the same party.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.