You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sumit Pandit (JIRA)" <ji...@apache.org> on 2009/08/07 10:35:14 UTC
[jira] Created: (OFBIZ-2808) Order View page is throwing an
exception at shipment panel.
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.
[jira] Closed: (OFBIZ-2808) Order View page is throwing an
exception at shipment panel.
Posted by "Vikas Mayur (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (OFBIZ-2808) Order View page is throwing an
exception at shipment panel.
Posted by "Sumit Pandit (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Assigned: (OFBIZ-2808) Order View page is throwing an
exception at shipment panel.
Posted by "Vikas Mayur (JIRA)" <ji...@apache.org>.
[ 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.