[jira] Created: (OFBIZ-101) PaymentMethod in product show all the PaymentMethods in the entire System

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-101) PaymentMethod in product show all the PaymentMethods in the entire System

Nicolas Malin (Jira)
PaymentMethod in product show all the PaymentMethods in the entire System
-------------------------------------------------------------------------

                 Key: OFBIZ-101
                 URL: http://issues.apache.org/jira/browse/OFBIZ-101
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: product
    Affects Versions: SVN trunk
            Reporter: Raphael Winckler de Bettio
            Priority: Minor


When you acess the paymentmethodtypes of product the system show all PaymentMethodTypes registred in any product not only in the selected product.

The problem is in the in File : applications/product/widget/catalog/ProductScreens.xml

<screen name="EditProductPaymentMethodTypes">
...
<entity-condition entity-name="ProductPaymentMethodType" list-name="productPaymentMethodTypes">
<order-by field-name="productPricePurposeId"/>
<order-by field-name="paymentMethodTypeId"/>
<order-by field-name="fromDate"/>
</entity-condition>

Is is necessary to include the condition <condition-expr field-name="productId" env-name="productId"/>

on the entity-condition tag like this:


<entity-condition entity-name="ProductPaymentMethodType" list-name="productPaymentMethodTypes">
<condition-expr field-name="productId" env-name="productId"/>
<order-by field-name="productPricePurposeId"/>
<order-by field-name="paymentMethodTypeId"/>
<order-by field-name="fromDate"/>
</entity-condition>







--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-101) PaymentMethod in product show all the PaymentMethods in the entire System

Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-101?page=all ]

Jacopo Cappellato closed OFBIZ-101.
-----------------------------------

    Resolution: Fixed

Thanks, Raphael,

this is now fixed in rev. 424529


> PaymentMethod in product show all the PaymentMethods in the entire System
> -------------------------------------------------------------------------
>
>                 Key: OFBIZ-101
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-101
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>            Reporter: Raphael Winckler de Bettio
>            Priority: Minor
>
> When you acess the paymentmethodtypes of product the system show all PaymentMethodTypes registred in any product not only in the selected product.
> The problem is in the in File : applications/product/widget/catalog/ProductScreens.xml
> <screen name="EditProductPaymentMethodTypes">
> ...
> <entity-condition entity-name="ProductPaymentMethodType" list-name="productPaymentMethodTypes">
> <order-by field-name="productPricePurposeId"/>
> <order-by field-name="paymentMethodTypeId"/>
> <order-by field-name="fromDate"/>
> </entity-condition>
> Is is necessary to include the condition <condition-expr field-name="productId" env-name="productId"/>
> on the entity-condition tag like this:
> <entity-condition entity-name="ProductPaymentMethodType" list-name="productPaymentMethodTypes">
> <condition-expr field-name="productId" env-name="productId"/>
> <order-by field-name="productPricePurposeId"/>
> <order-by field-name="paymentMethodTypeId"/>
> <order-by field-name="fromDate"/>
> </entity-condition>

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira