Doug Bell
19dedc0b7c
fix problem revealed by tests
...
update() in a File asset would always create a storage location if one
was not yet saved. calling update() in a filter method would cause
another one to be created too, messing up the tests.
2010-11-16 20:54:49 -06:00
Doug Bell
270f52aaaa
fix 11954 Can't clear packed head tags
2010-11-16 18:47:51 -06:00
Doug Bell
ef319ea2a2
fix cleanup
2010-07-13 13:12:47 -05:00
Doug Bell
ab7e98d08c
test changes to updating serialize asset props
2010-07-13 13:12:47 -05:00
Colin Kuskie
6c3369d0cb
Revert "use temp config file for testing"
...
This reverts commit 9b725c6d42 .
2010-06-14 15:19:54 -07:00
Graham Knop
9b725c6d42
use temp config file for testing
2010-06-10 10:09:54 -05:00
Colin Kuskie
23183276e3
Document change in handling sequences of dashes.
2010-05-16 22:16:18 -07:00
Colin Kuskie
0e7ce2c0e3
Update Asset/Asset.t for new fixUrl code.
2010-05-16 20:55:28 -07:00
Colin Kuskie
c0361fda0e
Remove test for old RSS method that no longer exists.
2010-04-19 08:41:48 -07:00
Colin Kuskie
27a7c099ba
fix: getIsa returns undef for pending assets.
...
Add a new option flag to getIsa, called returnAll. If returnAll = 1, then
assets are returned regardless of status. Otherwise, getIsa will only
return committed assets.
2009-12-08 17:22:59 -08:00
Colin Kuskie
2250ab0452
Fix a typo in Asset->checkView, which redirected assets in the clipboard to the trash instead. Fixes bug #11139 .
2009-10-16 14:31:26 -07:00
Graham Knop
60a4a9b140
mark $session->datetime->time as deprecated and remove its use from core code
2009-10-05 20:56:37 -05:00
Doug Bell
5c03cfbfbe
fixed #10544 : Child assets under uncommitted parents
2009-10-02 01:03:34 -05:00
Colin Kuskie
9d438f7266
Fix bad URLs from happening when inheritUrlFromParent is used. Fixes bug #11011
2009-09-22 11:45:06 -07:00
Colin Kuskie
2948e68781
Fix 10939, commit with approval breaks on assets with autocommit children, Post, Story, Wiki, Event, etc.
...
Encapsulate a new method to get a fresh asset from the db. With tests.
2009-09-08 21:17:41 -07:00
Graham Knop
39127b7ec0
add tests for url extensions
2009-08-19 18:05:28 +00:00
Colin Kuskie
2d64657165
Use WebGUI::Test rollback methods instead of an END block.
2009-07-09 20:31:25 +00:00
Colin Kuskie
f0eaa51d3a
If adding an asset is added to another asset with an open version tag, put the
...
new asset in that version tag, too.
2009-06-23 19:32:40 +00:00
Colin Kuskie
61b4e1e826
Never delete an asset property key.
2009-06-20 00:16:34 +00:00
Colin Kuskie
c93075519f
Update test to work with new fixUrl code.
2009-05-07 16:42:04 +00:00
Colin Kuskie
39607fc208
Another batch of clean-ups for users and groups.
2009-05-01 02:48:18 +00:00
Colin Kuskie
f9e3c0c99c
Check what happens with URLS with an initial dot in them
2009-04-24 16:53:35 +00:00
Colin Kuskie
1edaca4ed2
Merge up to 10305
2009-04-13 17:04:23 +00:00
Colin Kuskie
4c1307e3d0
merge to 10219
2009-04-08 16:35:31 +00:00
Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Colin Kuskie
665284392f
forward porting quotes in asset title fixTitle test
2008-12-11 19:20:12 +00:00
Colin Kuskie
13eb87ffe5
forward porting fix for non-unique separator strings, ~~~, #8543
2008-11-21 23:07:05 +00:00
Colin Kuskie
79cbb85285
fix Asset.t. Safe references are not always safe
2008-09-30 18:23:17 +00:00
Colin Kuskie
21545535be
replace diag output with a comment
2008-09-30 17:36:31 +00:00
JT Smith
d75f401ac1
fixes to match config file changes
2008-09-30 17:25:25 +00:00
Graham Knop
336cb209fd
protect against premature test failure corrupting config, remove debug code
2008-09-30 17:07:26 +00:00
Colin Kuskie
fbc6e55141
fix inheritUrlFromParent
2008-08-21 20:27:30 +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
3c913228d1
add a test to check inheritUrlFromParent when creating an asset, rather than updating it
2008-08-15 17:50:03 +00:00
Graham Knop
f082e2d14e
request->body and request->param should be the same in tests
2008-08-07 22:55:35 +00:00
Colin Kuskie
4392442655
add another fixTitle test for title only with HTML
2008-07-16 00:42:00 +00:00
Colin Kuskie
c4af4b4f26
remove getProductImportNode test from Asset.t
2008-07-13 18:21:58 +00:00
Chris Nehren
05cf8fa24c
Fixed: One can now turn off inheritUrlFromParent, and the code is now more
...
robust: moved from Asset->update to Asset->fixUrl.
2008-06-20 19:21:30 +00:00
Chris Nehren
9c77fdcce7
Add the inheritUrlFromParent property, which causes the asset to prepend its
...
parent's URL to its own URL. Boolean, default off, found in the meta tab.
2008-05-30 23:38:07 +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
9c9da302f1
remove colons from END blocks, so they actually act like END blocks
2008-05-09 18:14:14 +00:00
Colin Kuskie
c920bee629
add an explicit test for the safe copying of Asset properties inside get
2008-02-20 16:40:50 +00:00
JT Smith
93b5ca16e4
updating copyright year
2008-02-07 23:28:18 +00:00
Doug Bell
054534564b
fixed tests for newByDynamicClass and added a couple more for it
2008-01-25 17:47:03 +00:00
Colin Kuskie
36b622622e
resolved bug/question about assetAddPrivilege and Turn On Admin group. Fixing test
2008-01-09 17:25:16 +00:00
Colin Kuskie
10ef562d94
refine the one newByDynamicClass test
2008-01-05 05:36:11 +00:00
Colin Kuskie
a05e90408e
convert the commented out code into TODOs
2008-01-05 05:00:27 +00:00
Colin Kuskie
2eb1883345
Add a stub test for newByDynamicUrl, that really should
...
have been a stub test for update.
Add tests for getNotFound, testing what is returned for both
a page and a Snippet.
2008-01-05 04:05:37 +00:00
Colin Kuskie
047b0c5d3e
update plan and invert test for new default for isExportable
2008-01-03 00:23:16 +00:00