[jira] Created: (OFBIZ-107) "Create New Inventory Item for this Product" link broken on EditProductInventoryItems page

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

[jira] Created: (OFBIZ-107) "Create New Inventory Item for this Product" link broken on EditProductInventoryItems page

Nicolas Malin (Jira)
"Create New Inventory Item for this Product" link broken on EditProductInventoryItems page
------------------------------------------------------------------------------------------

                 Key: OFBIZ-107
                 URL: http://issues.apache.org/jira/browse/OFBIZ-107
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: product
    Affects Versions: SVN trunk
         Environment: N/A
            Reporter: Ray Barlow


Try and create a new inventory item from the catalog edit product inventory page. The link will fail as it does not contain a valid FacilityId which has been added as a required field in the CommonFacilityDecorator.

The patch disables the link if no facilities have been associated with the product and will just select the first available if any have been associated, the actual selection can be changed on the create screen so is not essential to choose at this point.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-107) "Create New Inventory Item for this Product" link broken on EditProductInventoryItems page

Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-107?page=all ]

Ray Barlow updated OFBIZ-107:
-----------------------------

    Attachment: product_inv_create.patch

Sorry forgot to mention there is a very minor html correction for the ecommerce viewprofile.ftl file also in the patch. I noticed it when searching for the correct style to disable the button.

> "Create New Inventory Item for this Product" link broken on EditProductInventoryItems page
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-107
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-107
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>         Environment: N/A
>            Reporter: Ray Barlow
>         Attachments: product_inv_create.patch
>
>
> Try and create a new inventory item from the catalog edit product inventory page. The link will fail as it does not contain a valid FacilityId which has been added as a required field in the CommonFacilityDecorator.
> The patch disables the link if no facilities have been associated with the product and will just select the first available if any have been associated, the actual selection can be changed on the create screen so is not essential to choose at this point.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-107) "Create New Inventory Item for this Product" link broken on EditProductInventoryItems page

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-107?page=all ]

Jacopo Cappellato closed OFBIZ-107.
-----------------------------------

    Resolution: Fixed

Ray,

I've fixed the inventory item problem following a different approach: the "EditInventoryItem" screen now accept a null facility.
I've also committed the viewprofile patch.
Svn rev. 426387, 426388

Thanks.

> "Create New Inventory Item for this Product" link broken on EditProductInventoryItems page
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-107
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-107
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>         Environment: N/A
>            Reporter: Ray Barlow
>         Attachments: product_inv_create.patch
>
>
> Try and create a new inventory item from the catalog edit product inventory page. The link will fail as it does not contain a valid FacilityId which has been added as a required field in the CommonFacilityDecorator.
> The patch disables the link if no facilities have been associated with the product and will just select the first available if any have been associated, the actual selection can be changed on the create screen so is not essential to choose at this point.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira