Paul Driver
81f4b44e19
yet another template test failure
2011-03-31 12:42:18 -05:00
Graham Knop
b832deecd1
convert all cleanup methods to addToCleanup
2010-06-10 10:09:53 -05:00
Colin Kuskie
83e945142e
More END block cleanups.
2010-06-08 19:27:39 -07:00
Colin Kuskie
1770e3945c
END block cleanups.
2010-06-08 08:39:43 -07:00
Colin Kuskie
b397651620
Update the Product test for changes in the Storage API.
2010-01-19 18:39:43 -08:00
Colin Kuskie
3acaea22e8
Remove bad test requirement.
2009-09-21 22:18:03 -07:00
Colin Kuskie
50d3f48936
Extend existing non-recurring Subscriptions when rebought. Fixes bug #11010
2009-09-21 22:17:21 -07:00
Colin Kuskie
31544f13b0
Remove Product test debug diag.
2009-07-27 16:24:19 +00:00
Colin Kuskie
e8bfd8a0a7
Empty warranty, brochure and manual show empty areas in the Product.
2009-07-27 16:21:04 +00:00
Colin Kuskie
578bdf361c
Update the # of tests in Asset/Sku/Product.t
2009-07-16 04:21:48 +00:00
Colin Kuskie
e335276cfa
Make the Product Sku copy the storage locations when a new revision is added.
2009-07-16 04:12:30 +00:00
Colin Kuskie
df51a0d99f
Fix the form for the Product. It was returning variants with no quantity.
2009-07-03 16:19:26 +00:00
Colin Kuskie
1a9da53abf
Modify tests to use the automatic storage cleanup provided by WebGUI::Test.
...
Several tests previously leaked storage locations.
2009-04-14 01:54:28 +00:00
David Delikat
b1bd7e6205
done!
...
I'd like to thank all the little people because I wouldn't be here if it wasn't for you.
;)
2009-03-24 23:04:56 +00:00
David Delikat
4fb7b2c81b
big check point
...
passes lots of tests
well 8
but hey there are tests!
2009-03-20 03:56:11 +00:00
Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Graham Knop
bf9bd2f0d2
use proper JSON encoding/decoding
2009-02-10 21:41:36 +00:00
Colin Kuskie
e961bb6f26
forward port Product JSON collateral wide character fix
2008-12-01 19:29:45 +00:00
Colin Kuskie
23f8e48f6d
Update POD for several methods.
...
Make getObject clone data for safety and update tests.
Make newObject always alter $address for consistency and update tests.
2008-12-01 17:39:34 +00:00
JT Smith
ee84cc7611
Deprecated WebGUI::Storage::Image. WebGUI::Storage can now do everything
...
WebGUI::Storage::Image can do.
2008-11-26 16:06:18 +00:00
Graham Knop
edebe7e2b9
revert oops
2008-08-19 20:48:47 +00:00
Doug Bell
57b8cc4bae
fixed: loginBox macro can no longer return the user to the logout page, logging them out
2008-08-19 20:39:43 +00:00
Colin Kuskie
85e2c32919
update Sku/Product.t test to include isShippingAddress and getConfiguredTitle
2008-07-31 02:56:09 +00:00
Colin Kuskie
0955679ea1
Remove the getImportProductNode tests since it doesn't exist anymore.
2008-07-12 22:00:49 +00:00
Colin Kuskie
91317dfdd7
Fix potential JSON/UTF8 encoding issues in Asset/Sku/Product.pm
2008-07-08 21:23:45 +00:00
Colin Kuskie
14724cbbef
Add tests to check how getThumbnailUrl is supposed to work in the Product.
...
Then fix the bugs I added to it yesterday.
2008-06-20 22:05:47 +00:00
Colin Kuskie
227745d975
Fix getCollateral, which used to return direct copies instead of safe copies, and
...
add a test for that.
addToCart does not adjust inventory, that is handled by the cart.
Invert the sense of quantity in onAdjustQuantity.
2008-06-10 01:48:20 +00:00
Colin Kuskie
a998e119d1
update the plan since tests were moved into Asset.t for getIsa
2008-05-30 07:04:32 +00:00
Colin Kuskie
3ad1668a21
Promote the getAllProducts to Asset.pm as getIsa. Move the tests
...
from Asset/Sku/Product.t into Asset/Asset.t, and add tests to check
that inheritance is respected.
2008-05-28 16:06:52 +00:00
Colin Kuskie
0a05d637d4
Build an iterator for getting all products as objects, one at a time.
...
Build tests for the iterator.
Begin working on the exporter (which will use the iterator).
2008-05-28 04:37:21 +00:00
Colin Kuskie
affd08990a
Convert variants over to the new collateral API.
...
Convert the upgrade script to the new API.
Fix a few bugs in the collateral API with "empty" collateral Ids
and add tests for it.
2008-05-18 23:44:43 +00:00
Colin Kuskie
d849aacc51
Add tests for handling adding new collateral.
...
Covert features to new collateral API.
2008-05-18 16:01:13 +00:00
Colin Kuskie
04412f96c4
handle the case when the JSON hash contains only the unique identifier
2008-05-16 05:40:20 +00:00
Colin Kuskie
06a38c61c3
JSON collateral rewrite, first part.
...
API is rewritten and tested. Upgrade script builds JSON
for all commerce products with unique identifiers.
TBD: Rework Product asset and test it.
2008-05-16 05:08:58 +00:00
Colin Kuskie
4da1f8314f
Convert accessories over to the new Product collateral methods.
...
Add a method to get the JSON collateral indexed, for easy access to indeces.
Add tests for the new getIndexedCollateralData method.
In the upgrade script, put variants in all versions of the Product. Begin
work on converting the collateral tables over to JSON.
2008-05-04 16:06:31 +00:00
Colin Kuskie
9d2b810a05
conversion of Product from Wobjects to Skus with variants is done
2008-05-04 04:32:58 +00:00
Colin Kuskie
6ad6cd3e5e
move* with tests
2008-05-03 21:25:19 +00:00
Colin Kuskie
9489383cfe
deleteCollateral tests, and detab Sku/Product.pm
2008-05-03 19:24:30 +00:00
Colin Kuskie
ef12f5118f
more product collateral tests
2008-05-03 19:18:01 +00:00
Colin Kuskie
0000db901e
Product variant creation is held off until we can finalize
...
the variant code.
Began building JSON based variant code, and a test for
verifying how it works. set, get and delete collateral
are implemented. Still need to build moveUp and moveDown.
Lots of tests to be written.
2008-05-03 05:41:13 +00:00
JT Smith
4a73cadf64
created donation asset
2008-02-27 02:44:33 +00:00