sukhvir007 / tracmor

Automatically exported from code.google.com/p/tracmor
GNU General Public License v2.0
0 stars 0 forks source link

Scheduling an exchange w/ shipment #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Schedule shipment
2. Fill in required fields, completing contact & courier information
3. Enter Asset code in Asset Code field and click on "Show Advanced" before
"Add Asset"
4. Check the Schedule Return/Exchange box, then check the Exchange box
5. Enter the new Asset code for the exchange and "Add Asset"
6. Once all fields are filled in, Complete Shipment

What is the expected output? What do you see instead?
AJAX Error: (see below & attached)

MySqli Error: Cannot add or update a child row: a foreign key constraint
fails (`tracmor-test/asset_transaction`, CONSTRAINT
`asset_transaction_ibfk_7` FOREIGN KEY (`new_asset_id`) REFERENCES `asset`
(`asset_id`) ON DELETE SET NULL ON UPDATE NO ACTION)

Please use labels and text to provide additional information.

Original issue reported on code.google.com by lyndi...@gmail.com on 27 Apr 2007 at 10:02

Attachments:

GoogleCodeExporter commented 8 years ago
There was no code to create the new asset. This has been fixed.

Original comment by hunterje...@gmail.com on 29 Apr 2007 at 9:32