You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Rohit Sureka (JIRA)" <ji...@apache.org> on 2009/04/26 13:19:30 UTC
[jira] Created: (OFBIZ-2360) Route Segment does not show the
shipments ready for shipping.
Route Segment does not show the shipments ready for shipping.
-------------------------------------------------------------
Key: OFBIZ-2360
URL: https://issues.apache.org/jira/browse/OFBIZ-2360
Project: OFBiz
Issue Type: Bug
Components: product
Affects Versions: SVN trunk
Environment: Red hat
Reporter: Rohit Sureka
Hi,
The shipment route segment at the below URL does not show the packages, processed for shipment.
Rohit
https://demo.ofbiz.org/facility/control/EditShipmentRouteSegments?shipmentId=10002
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (OFBIZ-2360) Route Segment does not
show the shipments ready for shipping.
Posted by "Deyan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705555#action_12705555 ]
Deyan edited comment on OFBIZ-2360 at 5/6/09 3:30 AM:
------------------------------------------------------
Fix suggested in the patch file attached.
was (Author: deyan):
Suggested fix:
/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentRouteSegments.groovy:
1) ` add import import org.ofbiz.entity.condition.*
2) remove the "not" exclamation mark in the IF condition
if (shipmentId) {
shipment = delegator.findOne("Shipment", [shipmentId : shipmentId], false);
}
-----------------------------------------------------------------------------------------------------
import org.ofbiz.base.util.*
import org.ofbiz.entity.condition.*
shipmentId = request.getParameter("shipmentId");
if (!shipmentId) {
shipmentId = context.shipmentId;
}
shipment = null;
if (shipmentId) {
shipment = delegator.findOne("Shipment", [shipmentId : shipmentId], false);
}
-------------------------------------------------------------------
I'm sorry, I don't have dev access to the svn repository but i'm working on that :)
> Route Segment does not show the shipments ready for shipping.
> -------------------------------------------------------------
>
> Key: OFBIZ-2360
> URL: https://issues.apache.org/jira/browse/OFBIZ-2360
> Project: OFBiz
> Issue Type: Bug
> Components: product
> Affects Versions: SVN trunk
> Environment: Red hat
> Reporter: Rohit Sureka
> Attachments: EditShipmentRouteSegments.groovy.patch
>
>
> Hi,
> The shipment route segment at the below URL does not show the packages, processed for shipment.
> Rohit
> https://demo.ofbiz.org/facility/control/EditShipmentRouteSegments?shipmentId=10002
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-2360) Route Segment does not show the
shipments ready for shipping.
Posted by "Deyan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deyan updated OFBIZ-2360:
-------------------------
Attachment: EditShipmentRouteSegments.groovy.patch
> Route Segment does not show the shipments ready for shipping.
> -------------------------------------------------------------
>
> Key: OFBIZ-2360
> URL: https://issues.apache.org/jira/browse/OFBIZ-2360
> Project: OFBiz
> Issue Type: Bug
> Components: product
> Affects Versions: SVN trunk
> Environment: Red hat
> Reporter: Rohit Sureka
> Attachments: EditShipmentRouteSegments.groovy.patch
>
>
> Hi,
> The shipment route segment at the below URL does not show the packages, processed for shipment.
> Rohit
> https://demo.ofbiz.org/facility/control/EditShipmentRouteSegments?shipmentId=10002
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (OFBIZ-2360) Route Segment does not show the
shipments ready for shipping.
Posted by "Deyan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705555#action_12705555 ]
Deyan commented on OFBIZ-2360:
------------------------------
Suggested fix:
/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentRouteSegments.groovy:
1) ` add import import org.ofbiz.entity.condition.*
2) remove the "not" exclamation mark in the IF condition
if (shipmentId) {
shipment = delegator.findOne("Shipment", [shipmentId : shipmentId], false);
}
-----------------------------------------------------------------------------------------------------
import org.ofbiz.base.util.*
import org.ofbiz.entity.condition.*
shipmentId = request.getParameter("shipmentId");
if (!shipmentId) {
shipmentId = context.shipmentId;
}
shipment = null;
if (shipmentId) {
shipment = delegator.findOne("Shipment", [shipmentId : shipmentId], false);
}
-------------------------------------------------------------------
I'm sorry, I don't have dev access to the svn repository but i'm working on that :)
> Route Segment does not show the shipments ready for shipping.
> -------------------------------------------------------------
>
> Key: OFBIZ-2360
> URL: https://issues.apache.org/jira/browse/OFBIZ-2360
> Project: OFBiz
> Issue Type: Bug
> Components: product
> Affects Versions: SVN trunk
> Environment: Red hat
> Reporter: Rohit Sureka
>
> Hi,
> The shipment route segment at the below URL does not show the packages, processed for shipment.
> Rohit
> https://demo.ofbiz.org/facility/control/EditShipmentRouteSegments?shipmentId=10002
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.