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

[jira] [Commented] (OFBIZ-5699) NPE on a virtual product in configurable good

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

Guillaume Sigoigne commented on OFBIZ-5699:
-------------------------------------------

My further tests indicates that I encounter NPE when question which contains virtual product as component is set with isMandatory = 'Y'
If I put isMandatory to 'N', I don't encounter the problem.

> NPE on a virtual product in configurable good
> ---------------------------------------------
>
>                 Key: OFBIZ-5699
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5699
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Release Branch 13.07
>            Reporter: Guillaume Sigoigne
>
> In a configurable good, I have an option with a component.
> This component is a virtual product with several variants products.
> When the configurable good is ordered, a NPE appears instead of configuration page.
> The NPE is here : ProductConfigWorker.storeProductConfigWrapper() l.347
> String componentOption = oneOption.componentOptions.get(component.getString("productId"));
> oneOption exists, but oneOption.componentOptions is null



--
This message was sent by Atlassian JIRA
(v6.2#6252)