You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Rohit Hukkeri (JIRA)" <ji...@apache.org> on 2019/05/29 09:15:00 UTC

[jira] [Updated] (OFBIZ-10684) Edit supplier form missing values

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

Rohit Hukkeri updated OFBIZ-10684:
----------------------------------
    Sprint: OFBiz Community Day (May 2019)

> Edit supplier form missing values
> ---------------------------------
>
>                 Key: OFBIZ-10684
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10684
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: 16.11.05
>         Environment: Linux Ubuntu 18.04
> JDK 1.8.0_181
>            Reporter: Frank Herrman
>            Priority: Major
>
> To reproduce:
>  * Go to the catalog manager and modify a product
>  * Go to the supplier tab and add a supplier. Fill in the supplier product ID and product Name
>  * Save the supplier
>  * Now click the edit button next to this supplier
>  * Most of the fields are not prefilled
> I found these fields at least not to be filled:
>  * Standard lead time days
>  * Order qty increments
>  * Units included
>  * Quantity UomId
>  * Last price
>  * Shipping price
>  * Supplier product name
>  * Supplier product ID
>  * Remarks
> I don't have any agreements in my database, so haven't checked those fields. All data is stored in the database, but not visible in the edit form.
> I have checked the file applications/product/widget/catalog/ProductScreens.xml for the form `EditSupplierProduct` which contains completely different fields from what is on my screen, so I don't really get that. The form is also not being altered by JavaScript (I tried to disable javascript).
> Now the weird thing is, sometimes when I add extra suppliers and modify them, some of the fields mentioned above (but not all) are prefilled as well. 
> Furthermore, I feel it is related, when you delete the supplier link it sometimes returns an error `Value not found, cannot remove`. I have checked where it came from and it is caused by the entity service to delete entities. It expects all fields for primary key, which for this table are PRODUCT_ID, PARTY_ID, CURRENCY_UOM_ID, MINIMUM_ORDER_QUANTITY, AVAILABLE_FROM_DATE. But these fields are not all mandatory.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)