ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Sigoigne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-5699) NPE on a virtual product in configurable good
Date Thu, 07 Aug 2014 09:14:12 GMT

    [ 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)

Mime
View raw message