[jira] Created: (OFBIZ-184) Error on order Quick ship

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

[jira] Created: (OFBIZ-184) Error on order Quick ship

Nicolas Malin (Jira)
Error on order Quick ship
-------------------------

                 Key: OFBIZ-184
                 URL: http://issues.apache.org/jira/browse/OFBIZ-184
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
            Reporter: Eriks Dobelis


When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.

The Following Errors Occurred:

    * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]



--
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] Commented: (OFBIZ-184) Error on order Quick ship

Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-184?page=comments#action_12430447 ]
           
David E. Jones commented on OFBIZ-184:
--------------------------------------

The "Type id-ne not found" message is coming from the entity engine, and is probably from a bad entity definition (perhaps a missing entity-group entry for the entity).

There should be more detailed information early in the log during the entity engine init during startup.

> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-184
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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] Commented: (OFBIZ-184) Error on order Quick ship

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-184?page=comments#action_12430453 ]
           
Eriks Dobelis commented on OFBIZ-184:
-------------------------------------

This is grep of id-ne from console.log:

2006-08-24 21:15:22,466 (main) [   GenericDelegator.java:166:WARN ] [FieldTypeNotFound] Field type id-ne of entity OdbcPackageIn not found in field type definitions (no helper definition found).
2006-08-24 21:15:22,466 (main) [   GenericDelegator.java:166:WARN ] [FieldTypeNotFound] Field type id-ne of entity OdbcPackageIn not found in field type definitions (no helper definition found).
2006-08-24 21:15:22,475 (main) [   GenericDelegator.java:166:WARN ] [FieldTypeNotFound] Field type id-ne of entity OdbcPackageIn not found in field type definitions (no helper definition found).
2006-08-24 21:15:22,475 (main) [   GenericDelegator.java:166:WARN ] [FieldTypeNotFound] Field type id-ne of entity OdbcPackageIn not found in field type definitions (no helper definition found).
2006-08-24 21:15:22,479 (main) [   GenericDelegator.java:166:WARN ] [FieldTypeNotFound] Field type id-ne of entity OdbcPackageOut not found in field type definitions (no helper definition found).
2006-08-24 21:15:22,479 (main) [   GenericDelegator.java:166:WARN ] [FieldTypeNotFound] Field type id-ne of entity OdbcPackageOut not found in field type definitions (no helper definition found).
2006-08-24 21:15:22,481 (main) [   GenericDelegator.java:166:WARN ] [FieldTypeNotFound] Field type id-ne of entity OdbcShipmentOut not found in field type definitions (no helper definition found).
Message: Service target threw an unexpected exception (Type id-ne not found)
org.ofbiz.service.GenericServiceException: Service target threw an unexpected exception (Type id-ne not found)
java.lang.IllegalArgumentException: Type id-ne not found
Message: Service target threw an unexpected exception (Type id-ne not found)
org.ofbiz.service.GenericServiceException: Service target threw an unexpected exception (Type id-ne not found)
java.lang.IllegalArgumentException: Type id-ne not found
Message: Service target threw an unexpected exception (Type id-ne not found)
org.ofbiz.service.GenericServiceException: Service target threw an unexpected exception (Type id-ne not found)
java.lang.IllegalArgumentException: Type id-ne not found
2006-08-25 08:53:09,483 (TP-Processor1) [   CallSimpleMethod.java:96 :WARN ] Got error [error] calling inline simple-method named [createShipmentForFacilityAndShipGroup] in resource [], message is ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)], and the error message list is: null
2006-08-25 08:53:09,484 (TP-Processor1) [  ServiceDispatcher.java:410:ERROR] Service Error [quickShipEntireOrder]: ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]
2006-08-25 08:53:09,487 (TP-Processor1) [     RequestHandler.java:274:ERROR] Request quickShipOrder caused an error with the following message: ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]


> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-184
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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] Commented: (OFBIZ-184) Error on order Quick ship

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-184?page=comments#action_12430502 ]
           
Jacques Le Roux commented on OFBIZ-184:
---------------------------------------

Eriks,

What are the lines you use in entitygine.xml for the delegator  ?

something like

    <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
        <group-map group-name="org.ofbiz" datasource-name="localpostgres"/>
        <group-map group-name="org.ofbiz.odbc" datasource-name="localderbyodbc"/>
    </delegator>


> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-184
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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-184) Error on order Quick ship

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

Jacopo Cappellato closed OFBIZ-184.
-----------------------------------

    Resolution: Fixed

This was probably caused by a wrong configuration; since Eroks did not reply to Jacques's last comment, my guess is that it is now solved.

> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-184
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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] Commented: (OFBIZ-184) Error on order Quick ship

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-184?page=comments#action_12434979 ]
           
Eriks Dobelis commented on OFBIZ-184:
-------------------------------------

Sorry, for late answering, I somehow overlooked previous message. I still have the problem. This is what I had in entityengine.xml:

    <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" distributed-cache-clear-enabled="false">
        <group-map group-name="org.ofbiz" datasource-name="localpostgres"/>
    </delegator>

I do not have ODBC line, and until now I did not have any problems with that. For what kind of data is that used anyway?

Then I tried both
  <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
        <group-map group-name="org.ofbiz" datasource-name="localpostgres"/>
        <group-map group-name="org.ofbiz.odbc" datasource-name="localderbyodbc"/>
    </delegator>
and

  <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
        <group-map group-name="org.ofbiz" datasource-name="localpostgres"/>
       <group-map group-name="org.ofbiz.odbc" datasource-name="localpostgres"/>
    </delegator>

and got exactly the same result. So the problem is still there.

> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-184
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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] Commented: (OFBIZ-184) Error on order Quick ship

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-184?page=comments#action_12434980 ]
           
Eriks Dobelis commented on OFBIZ-184:
-------------------------------------

Sorry again for delay, and, please, reopen the issue.

> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-184
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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] Reopened: (OFBIZ-184) Error on order Quick ship

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

Jacopo Cappellato reopened OFBIZ-184:
-------------------------------------

             

> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-184
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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-184) Error on order Quick ship

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

Jacopo Cappellato updated OFBIZ-184:
------------------------------------

    Priority: Minor  (was: Major)

> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-184
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>            Priority: Minor
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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] Commented: (OFBIZ-184) Error on order Quick ship

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-184?page=comments#action_12435023 ]
           
Si Chen commented on OFBIZ-184:
-------------------------------

If you configure it as:
  <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
        <group-map group-name="org.ofbiz" datasource-name="localpostgres"/>
        <group-map group-name="org.ofbiz.odbc" datasource-name="localderbyodbc"/>
    </delegator>

and then leave everything else as unchanged, it should be fine.

Also make sure during start up the derby odbc connection is made--you should see two delegators being creatd.

> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-184
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>            Priority: Minor
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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] Commented: (OFBIZ-184) Error on order Quick ship

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-184?page=comments#action_12437468 ]
           
Jacopo Cappellato commented on OFBIZ-184:
-----------------------------------------

Eriks,

I really think that what you have reported is caused by something wrong with your setup, not a bug.
Did you try to do what Si has suggested?
Also, can you try to run this using the default entityengine.xml configuration? (i.e. using Derby as a db)
As a last resort, you could attach to this issue your modified entityengine.xml file and a complete (zipped) console.log file after that you have reproduced this error.



> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-184
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>            Priority: Minor
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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] Commented: (OFBIZ-184) Error on order Quick ship

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-184?page=comments#action_12437533 ]
           
Eriks Dobelis commented on OFBIZ-184:
-------------------------------------

Yes I did try what Si suggested, meaning used this in entityengine.xml:
 <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
        <group-map group-name="org.ofbiz" datasource-name="localpostgres"/>
        <group-map group-name="org.ofbiz.odbc" datasource-name="localderbyodbc"/>
    </delegator>

The error I get now is (end of the error message):
Problems with the transaction. (The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Service Error [postInvoiceToGl]: Cannot find posting GL account for invoice 2, item 02)]

It seems to be a different issue.

> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-184
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>            Priority: Minor
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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-184) Error on order Quick ship

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

Si Chen closed OFBIZ-184.
-------------------------

    Resolution: Fixed

Eriks, that is indeed a different issue, so I'm going to close this issue for now.  The problem you are encountering is that the general ledger is not configured -- did you load in financials/data/DefaultInvoiceItemTypeGlAccount.xml for example?  If so and problem still continues, please create another issue on sourceforge.net for the financials module.

> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-184
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>            Priority: Minor
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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] Commented: (OFBIZ-184) Error on order Quick ship

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-184?page=comments#action_12437768 ]
           
Eriks Dobelis commented on OFBIZ-184:
-------------------------------------

Is ordermgr/quick ship order using service from Financials module? Does it work without Financials module, too?

> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-184
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>            Priority: Minor
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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] Commented: (OFBIZ-184) Error on order Quick ship

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-184?page=comments#action_12437769 ]
           
Jacopo Cappellato commented on OFBIZ-184:
-----------------------------------------

If you load the financial component then many OFBiz processes will post accounting transaction to the financial component, so you have to properly configure it.
If the financial component is not loaded, the transactions are not sent and everything will work fine even without it.

> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-184
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>            Priority: Minor
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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
|

Re: [jira] Commented: (OFBIZ-184) Error on order Quick ship

John Martin
In reply to this post by Nicolas Malin (Jira)
Yes the ordermgr/quick ship will work without the Financials module.
I have been working with that feature just last week using a copy of
the code from SVN.

John
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-184) Error on order Quick ship

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

    [ https://issues.apache.org/jira/browse/OFBIZ-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463797 ]

Jonathon Wong commented on OFBIZ-184:
-------------------------------------

I fixed this problem by putting back this:

<group-map group-name="org.ofbiz.odbc" datasource-name="localderbyodbc"/>

into my delegators.

I have 2 MySQL delegators. So I need these:

    <field-type name="mysql" loader="fieldfile" location="fieldtypemysql.xml"/>
    <field-type name="derby" loader="fieldfile" location="fieldtypederby.xml"/>

in my entityengine.xml file.

Question. What is the org.ofbiz.odbc group used for? Can I and should I use ODBC-MySQL for this?

> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-184
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>            Priority: Minor
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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


Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-184) Error on order Quick ship

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

    [ https://issues.apache.org/jira/browse/OFBIZ-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463802 ]

Chris Howe commented on OFBIZ-184:
----------------------------------

Jonathon,

the group-map element tells which datasource to use for each entity-group.
the entities are assigned to entity groups traditionally in the various entitygroup.xml files in each component.
OFBiz OOTB has all of the entities utilizing the group-name org.ofbiz except for the three that are used for I believe UPS Worldship integration.
Those 3 entities are:
OdbcPackageOut
OdbcShipmentOut
OdbcPackageIn

those are defined in applications/product/entitydef/entitygroup.xml

you can have that group load to any datasource you wish.  consider the following:


    <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" distributed-cache-clear-enabled="false">
        <group-map group-name="org.ofbiz" datasource-name="localmysql"/>
        <group-map group-name="org.ofbiz.odbc" datasource-name="localderbyodbc"/>
    </delegator>

this will send all entities in the org.ofbiz group to the localmysql datasource and all of the org.ofbiz.odbc to the localderbyodbc datasource.

if instead you set it up like so:
    <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" distributed-cache-clear-enabled="false">
        <group-map group-name="org.ofbiz" datasource-name="localmysql"/>
        <group-map group-name="org.ofbiz.odbc" datasource-name="localdmysql"/>
    </delegator>
then both the org.ofbiz and org.ofbiz.odbc groups would use the localmysql datasource definition and thus to the same database.  

if you had the following:
    <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" distributed-cache-clear-enabled="false">
        <group-map group-name="org.ofbiz" datasource-name="localmysql"/>
    </delegator>

your deployment would not even attempt to load the entities that were part of the org.ofbiz.odbc group.

the odbc designation in the group-name is there because the easiest way to integrate with UPS Worldship is through a Microsoft Access database because that's what UPS Worldship uses.  The odbc here does not mean you have to connect it through an odbc.



> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-184
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>            Priority: Minor
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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


Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-184) Error on order Quick ship

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

    [ https://issues.apache.org/jira/browse/OFBIZ-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463844 ]

Jonathon Wong commented on OFBIZ-184:
-------------------------------------

Hmmm... very precise explanation. Thanks! So your reputation for coddling newbies is true. I can understand how you could be worn out by newbies at times.

Just thought I'd make a note FMI:

There's no need reinstall data via ant run-install. There doesn't seem to be any data for those entities. Phew. Am using OFBiz rev494312, CRMSFA rev376 and Financials rev614.

> Error on order Quick ship
> -------------------------
>
>                 Key: OFBIZ-184
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-184
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Bug
>            Reporter: Eriks Dobelis
>            Priority: Minor
>
> When I choose Quick ship from order screen (where I get from Order/Order list/choosing the order) I get following error. I am using Postgres if that makes a difference.
> The Following Errors Occurred:
>     * ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/ofbiz/data/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10030, statusId=SHIPMENT_PACKED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-08-23 15:53:54.947(java.sql.Timestamp)][createdTxStamp,2006-08-23 15:53:54.856(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-24 19:14:59.89(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: Service target threw an unexpected exception (Type id-ne not found)]

--
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