[jira] Created: (OFBIZ-2808) Order View page is throwing an exception at shipment panel.

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

[jira] Created: (OFBIZ-2808) Order View page is throwing an exception at shipment panel.

Nicolas Malin (Jira)
Order View page is throwing an exception at shipment panel.
-----------------------------------------------------------

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


Order view page throws an exception in shipment panel.
To verify this please visit at https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10091.
The issue was caused by following line -

<#assign shipmentRoutSegment = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("ShipmentRouteSegment", {"shipmentId":shipment.shipmentId}))>
I would suggest to get ShipmentRouteSegment record separately and if there is any record then get first record from it. and then check for shipmentRoutSegment (please, also correct  the name eg. - shipmentRouteSegment) record if it has contents.


Thanks Rishi Solanki for report it.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2808) Order View page is throwing an exception at shipment panel.

Nicolas Malin (Jira)

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

Sumit Pandit updated OFBIZ-2808:
--------------------------------

    Description:
Order view page throws an exception in shipment panel.
To verify this please visit at https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10091.
The issue was caused by following line -

<#assign shipmentRoutSegment = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("ShipmentRouteSegment", {"shipmentId":shipment.shipmentId}))>
I would suggest to 1) get ShipmentRouteSegment record separately and if there is any record then get first record from it. and then check for shipmentRoutSegment (please, also correct  the name eg. - shipmentRouteSegment) record if it has contents.
2) Create demo record for ShipmentRouteSegment entity.

Thanks Rishi Solanki for report it.

  was:
Order view page throws an exception in shipment panel.
To verify this please visit at https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10091.
The issue was caused by following line -

<#assign shipmentRoutSegment = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("ShipmentRouteSegment", {"shipmentId":shipment.shipmentId}))>
I would suggest to get ShipmentRouteSegment record separately and if there is any record then get first record from it. and then check for shipmentRoutSegment (please, also correct  the name eg. - shipmentRouteSegment) record if it has contents.


Thanks Rishi Solanki for report it.


> Order View page is throwing an exception at shipment panel.
> -----------------------------------------------------------
>
>                 Key: OFBIZ-2808
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2808
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Sumit Pandit
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> Order view page throws an exception in shipment panel.
> To verify this please visit at https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10091.
> The issue was caused by following line -
> <#assign shipmentRoutSegment = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("ShipmentRouteSegment", {"shipmentId":shipment.shipmentId}))>
> I would suggest to 1) get ShipmentRouteSegment record separately and if there is any record then get first record from it. and then check for shipmentRoutSegment (please, also correct  the name eg. - shipmentRouteSegment) record if it has contents.
> 2) Create demo record for ShipmentRouteSegment entity.
> Thanks Rishi Solanki for report it.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-2808) Order View page is throwing an exception at shipment panel.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Vikas Mayur reassigned OFBIZ-2808:
----------------------------------

    Assignee: Vikas Mayur

> Order View page is throwing an exception at shipment panel.
> -----------------------------------------------------------
>
>                 Key: OFBIZ-2808
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2808
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Sumit Pandit
>            Assignee: Vikas Mayur
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> Order view page throws an exception in shipment panel.
> To verify this please visit at https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10091.
> The issue was caused by following line -
> <#assign shipmentRoutSegment = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("ShipmentRouteSegment", {"shipmentId":shipment.shipmentId}))>
> I would suggest to 1) get ShipmentRouteSegment record separately and if there is any record then get first record from it. and then check for shipmentRoutSegment (please, also correct  the name eg. - shipmentRouteSegment) record if it has contents.
> 2) Create demo record for ShipmentRouteSegment entity.
> Thanks Rishi Solanki for report it.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2808) Order View page is throwing an exception at shipment panel.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Vikas Mayur closed OFBIZ-2808.
------------------------------

    Resolution: Fixed

Sumit, Thanks for reporting.

This should be fixed in rev. 801915

Vikas

> Order View page is throwing an exception at shipment panel.
> -----------------------------------------------------------
>
>                 Key: OFBIZ-2808
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2808
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Sumit Pandit
>            Assignee: Vikas Mayur
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> Order view page throws an exception in shipment panel.
> To verify this please visit at https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10091.
> The issue was caused by following line -
> <#assign shipmentRoutSegment = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("ShipmentRouteSegment", {"shipmentId":shipment.shipmentId}))>
> I would suggest to 1) get ShipmentRouteSegment record separately and if there is any record then get first record from it. and then check for shipmentRoutSegment (please, also correct  the name eg. - shipmentRouteSegment) record if it has contents.
> 2) Create demo record for ShipmentRouteSegment entity.
> Thanks Rishi Solanki for report it.

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