You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Christian Carlow (JIRA)" <ji...@apache.org> on 2013/11/05 20:48:20 UTC

[jira] [Commented] (OFBIZ-5386) SupplierProduct Not Found error when adding variantProduct with new feature selection combination

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

Christian Carlow commented on OFBIZ-5386:
-----------------------------------------

Replacing product searches and the like with ones not based on cache would fix this problem but cache searches seem to be used throughout purchase orders.  Is there a reason that purchase orders use cache for searching instead of the database like is done for sales orders?

> SupplierProduct Not Found error when adding variantProduct with new feature selection combination
> -------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5386
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5386
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Christian Carlow
>
> This error is generated when trying to add a variantProduct to a purchase order with a new selection combination:
> This product cannot be purchased from the chosen supplier for the given quantity and currency. (SupplierProduct not found)
> The same problem fixed in OFBIZ-5385 is the cause.  The newly created variantProduct is not found because the search is performed based on cache where the new entity hasn't been added yet.
> To reproduce follow the same steps in issue OFBIZ-5385.  If the patch hasn't been applied yet, then you will have to refresh the page after the first error message appears about immutable objects.



--
This message was sent by Atlassian JIRA
(v6.1#6144)