You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org> on 2014/12/20 14:01:13 UTC

[jira] [Closed] (OFBIZ-5385) Purchase order immutable/unchangeable errors when adding variant products

     [ https://issues.apache.org/jira/browse/OFBIZ-5385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Vijaywargiya closed OFBIZ-5385.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: Release Branch 13.07
                   Upcoming Branch

Thanks Christian for reporting the issue. Thanks Arun for providing the patch file, your changes are committed in trunk at r1646966 and in R13.07 at r1646973

> Purchase order immutable/unchangeable errors when adding variant products
> -------------------------------------------------------------------------
>
>                 Key: OFBIZ-5385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Christian Carlow
>            Assignee: Ashish Vijaywargiya
>             Fix For: Upcoming Branch, Release Branch 13.07
>
>         Attachments: OFBIZ-5385.patch, ProductWorker.java.diff
>
>
> This error message is generated when trying to add a variant product to a purchase order cart after features have been selected:
> Error calling event: org.ofbiz.webapp.event.EventHandlerException: Problems processing event: java.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache.
> To reproduce:
> 1.  Add new feature "Gold" as COLOR Feature Type to Widget Features Category
> 2.  Change WG-9943 virtual variant method to "Feature Tree Generation" on the product page
> 3.  Add new "Gold" feature to WG-9943 on feature page of product app
> 4.  Create new purchase order from BigSupplier for WG-9943  
> 5.  Select the new feature "Gold" as the color
> The error is generated after trying to add the product after all features have been selected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)