Inventory Update service breaks the relationship for entityview
ProductInventoryItem
------------------------------------------------------------------------------------
Key: OFBIZ-2033
URL: https://issues.apache.org/jira/browse/OFBIZ-2033
Project: OFBiz
Issue Type: Bug
Components: product
Affects Versions: SVN trunk
Reporter: BJ Freeman
Fix For: SVN trunk
>From email by wudongqing
Hi ,
I found a problem when updating inventory item status ID.
here is the steps i did:
1,go to the catalog, fill in "GZ-2644" to inventory
2,click one inventory item id "9001",the InventoryItem Type is
NON_SERIALIZED,change the status id to "on hold" ,updated.
3,when to catalog, fill in the product id and go to the inventory again ,the
inventory item status is still blank,
I was able to verify this on the demo, here is the log
2008-10-30 23:09:06,041 (TP-Processor16) [ RequestHandler.java:238:INFO]
[Processing Request]: UpdateInventoryItem
sessionId=981ACFE88B09A6DC8BD5683D856AA73F.jvm1
2008-10-30 23:09:06,044 (TP-Processor16) [ ServiceEcaRule.java:133:INFO] For
Service ECA [facilityGenericPermission] on [return] got false for
condition: [hasPermission][equals][false][true][Boolean]
2008-10-30 23:09:06,078 (TP-Processor16) [ EntityEcaRule.java:117:INFO ]
Running Entity ECA Service: updateSerializedInventoryTotals, triggered by rule
on Entity: InventoryItem
2008-10-30 23:09:06,080 (TP-Processor16) [ ServiceEcaRule.java:133:INFO] For
Service ECA [updateInventoryItem] on [commit] got false for
condition: [oldStatusId][not-equals][statusId][false][String]
2008-10-30 23:09:06,080 (TP-Processor16)
[ServiceEcaCondition.java:155:WARN ] From Field (oldProductId) is not found in
context for updateInventoryItem, defaulting to null.
2008-10-30 23:09:06,081 (TP-Processor16) [ ServiceEcaRule.java:150:INFO]
Running Service ECA Service: createInventoryItemStatus, triggered by
rule on Service: updateInventoryItem
2008-10-30 23:09:06,113 (TP-Processor16) [ ServiceEcaRule.java:133:INFO] For
Service ECA [updateInventoryItem] on [commit] got false for
condition: [oldOwnerPartyId][not-equals][ownerPartyId][false][String]
2008-10-30 23:09:06,114 (TP-Processor16) [ ServiceEcaRule.java:133:INFO] For
Service ECA [updateInventoryItem] on [commit] got false for
condition: [ownerPartyId][not-equals][oldOwnerPartyId][false][String]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.