You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org> on 2010/04/14 16:44:49 UTC

[jira] Created: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Add items

Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Add items
--------------------------------------------------------------------------------------------------------

                 Key: OFBIZ-3701
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
             Project: OFBiz
          Issue Type: Bug
          Components: order
    Affects Versions: SVN trunk
            Reporter: Blas Rodriguez Somoza
            Priority: Minor
             Fix For: SVN trunk


Two errors in addItems from a sales order with visible stacktraces

Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl

editorderitems.ftl lines:
132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
134         </#list>

The same editorderitems.ftl seems to work OK for purchase order.

Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.

appendorderitem.ftl lines:
37            <#if catalogCol?size == 1>
38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
39            </#if>

The same appendorderitem.ftl seem to work OK for purchase orders.

Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.

Please, commit OFBIZ-3685 before working on this issue.


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

        

[jira] Updated: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blas Rodriguez Somoza updated OFBIZ-3701:
-----------------------------------------

    Attachment:     (was: OFBIZ-3701_order_edititems_v4.diff)

> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field_v2.jpg, OFBIZ-3701_order_edititems_v5.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Bruno Busco (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruno Busco closed OFBIZ-3701.
------------------------------

      Assignee: Bruno Busco
    Resolution: Fixed

Thank you Blas,
your patch is in trunk at revision: 939938

> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Assignee: Bruno Busco
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field_v2.jpg, OFBIZ-3701_order_edititems_v5.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862959#action_12862959 ] 

Blas Rodriguez Somoza commented on OFBIZ-3701:
----------------------------------------------

Thanks Bruno, I updated it.

> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field_v2.jpg, OFBIZ-3701_order_edititems_v4.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blas Rodriguez Somoza updated OFBIZ-3701:
-----------------------------------------

    Attachment: OFBIZ-3701_order_edititems_v2.diff

Added

orderagreements.ftl
Removed catalog select when there are no catalogs available.

> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field.jpg, OFBIZ-3701_order_edititems_v2.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blas Rodriguez Somoza updated OFBIZ-3701:
-----------------------------------------

    Attachment:     (was: OFBIZ-3701_order_edititems.diff)

> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field.jpg, OFBIZ-3701_order_edititems_v2.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blas Rodriguez Somoza updated OFBIZ-3701:
-----------------------------------------

    Attachment: OFBIZ-3701_order_edititems_v4.diff

> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field_v2.jpg, OFBIZ-3701_order_edititems_v3.diff, OFBIZ-3701_order_edititems_v4.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blas Rodriguez Somoza updated OFBIZ-3701:
-----------------------------------------

    Attachment: OFBIZ-3701_order_edititems_v3.diff

Removed orderagreements.ftl from the patch, because it is not related with this bug,  and moved to OFBIZ-3721



> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field.jpg, OFBIZ-3701_order_edititems_v3.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blas Rodriguez Somoza updated OFBIZ-3701:
-----------------------------------------

    Attachment:     (was: OFBIZ-3701_order_edititems_v2.diff)

> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field.jpg, OFBIZ-3701_order_edititems_v3.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blas Rodriguez Somoza updated OFBIZ-3701:
-----------------------------------------

    Attachment:     (was: OFBIZ-3701_order_edititems_v3.diff)

> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field_v2.jpg, OFBIZ-3701_order_edititems_v4.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blas Rodriguez Somoza updated OFBIZ-3701:
-----------------------------------------

    Attachment: OFBIZ-3701_order_edititems.diff

> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field.jpg, OFBIZ-3701_order_edititems.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blas Rodriguez Somoza updated OFBIZ-3701:
-----------------------------------------

    Attachment: OFBIZ-3701_duplicated_field_v2.jpg

> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field_v2.jpg, OFBIZ-3701_order_edititems_v3.diff, OFBIZ-3701_order_edititems_v4.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blas Rodriguez Somoza updated OFBIZ-3701:
-----------------------------------------

    Attachment: OFBIZ-3701_order_edititems_v5.diff

> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field_v2.jpg, OFBIZ-3701_order_edititems_v5.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blas Rodriguez Somoza updated OFBIZ-3701:
-----------------------------------------

        Summary: Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items  (was: Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Add items)
    Description: 
Two errors in "edit items" from a sales order with visible stacktraces

Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl

editorderitems.ftl lines:
132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
134         </#list>

The same editorderitems.ftl seems to work OK for purchase order.

Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.

appendorderitem.ftl lines:
37            <#if catalogCol?size == 1>
38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
39            </#if>

The same appendorderitem.ftl seems to work OK for purchase orders.

Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.

Please, commit OFBIZ-3685 before working on this issue.


  was:
Two errors in addItems from a sales order with visible stacktraces

Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl

editorderitems.ftl lines:
132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
134         </#list>

The same editorderitems.ftl seems to work OK for purchase order.

Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.

appendorderitem.ftl lines:
37            <#if catalogCol?size == 1>
38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
39            </#if>

The same appendorderitem.ftl seem to work OK for purchase orders.

Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.

Please, commit OFBIZ-3685 before working on this issue.



> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

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

        

[jira] Updated: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blas Rodriguez Somoza updated OFBIZ-3701:
-----------------------------------------

    Attachment:     (was: OFBIZ-3701_duplicated_field.jpg)

> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field_v2.jpg, OFBIZ-3701_order_edititems_v3.diff, OFBIZ-3701_order_edititems_v4.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blas Rodriguez Somoza updated OFBIZ-3701:
-----------------------------------------


Solution:

editororderitems.ftl
Guarded against null statusDateTime (wrong or not it happens in the demo data from SalesOrderDemoData.xml when statusId="ITEM_APPROVED")
<OrderStatus orderStatusId="DEMO_B2C_AU01_05" statusId="ITEM_APPROVED" orderId="DEMO_B2C_AU01" orderItemSeqId="00001"/>

appendorderitems.ftl
Guarded against null catalogCol.

Also in appendorderitems.ftl
Removed duplicated field (from the conversion of field-lookup to macro)


Please apply OFBIZ-3721 before this one (xhtml applications/order)

> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field.jpg, OFBIZ-3701_order_edititems.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Blas Rodriguez Somoza (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blas Rodriguez Somoza updated OFBIZ-3701:
-----------------------------------------

    Attachment: OFBIZ-3701_duplicated_field.jpg

> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field.jpg, OFBIZ-3701_order_edititems.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3701) Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a sales order) -> Edit items

Posted by "Bruno Busco (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862843#action_12862843 ] 

Bruno Busco commented on OFBIZ-3701:
------------------------------------

Hi Blas,
I got a conflict when applying this patch.
Could you please update it?

Thank you.

> Errors (with visible stacktraces)  in screen: Order -> Order List -> Select (a sales order) -> Edit items
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3701
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3701
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3701_duplicated_field.jpg, OFBIZ-3701_order_edititems_v3.diff
>
>
> Two errors in "edit items" from a sales order with visible stacktraces
> Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133, column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
> editorderitems.ftl lines:
> 132         <#assign loopStatusItem = orderItemStatus.getRelatedOne("StatusItem")>
> 133              ${orderItemStatus.statusDatetime.toString()}&nbsp;${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br />
> 134         </#list>
> The same editorderitems.ftl seems to work OK for purchase order.
> Error 2 - Expression catalogCol is undefined on line 37, column 18 in component://order/webapp/ordermgr/order/appendorderitem.ftl.
> appendorderitem.ftl lines:
> 37            <#if catalogCol?size == 1>
> 38                <input type="hidden" name="prodCatalogId" value="${catalogCol.first}"/>
> 39            </#if>
> The same appendorderitem.ftl seems to work OK for purchase orders.
> Probably related with the catalog issue, in Order Entry -> Sales order continue, the choose catalog select field has no option values.
> Please, commit OFBIZ-3685 before working on this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.