[jira] [Closed] (OFBIZ-8489) product page missing form elements

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

[jira] [Closed] (OFBIZ-8489) product page missing form elements

Nicolas Malin (Jira)

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

Jacques Le Roux closed OFBIZ-8489.
----------------------------------
    Resolution: Fixed

Fortunately I did not have to read it all, this Deepak's comment was enough

bq. Added condition on EditProduct form at r#1746422, Now inventoryItemTypeId will be enable only for createProduct, and on EditProduct screen it will be displayed as readonly instead of editable dropdown. Also fixed fk-name for inventoryItemTypeId relation

The only problem is that you can have the inventoryItemTypeId with a null value. It's then considered by convention as not serialised. But then only the label shows. I fixed it at by setting the inventoryItemTypeId as not serialised in this case. It was a bit tricky because you have to consider if the product is null (creation) and then not set product.inventoryItemTypeId. It would else defeat the creation case and give other contradictions.

Fixed in
trunk 1766074  
R15.12 r1766076
R14.12 r1766077
R13.07 not concerned

> product page missing form elements
> ----------------------------------
>
>                 Key: OFBIZ-8489
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8489
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Wai
>            Assignee: Jacques Le Roux
>             Fix For: Upcoming Branch, Release Branch 15.12, Release Branch 14.12, Release Branch 13.07
>
>
> go to https://localhost:8443/catalog/control/EditProduct?productId=GZ-1000
> notice missing form elements for 'shopping cart' and 'miscellaneous' section



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