Colin Kuskie
be37f12ab1
Clone stopped working in several tests in 5.14.2. Remove it in favor of Storable::dclone.
...
Clone handles being passed scalar data, but dclone does not.
2012-10-23 10:00:53 -07:00
Scott Walters
0422807b32
Revert "group() function Survey::ExpressionEngine that returns 1/0 depending on whether the current user is in a group" -- wrong branch.
...
This reverts commit eaa29c5f44 .
Conflicts:
docs/changelog/7.x.x.txt
2012-06-19 19:31:50 -04:00
Scott Walters
eaa29c5f44
group() function Survey::ExpressionEngine that returns 1/0 depending on whether the current user is in a group
2012-06-19 16:22:30 -04:00
Arjan Widlak
2cb7c5b85b
Correction on test introduced in fix of bug 12365 commit 7ab4726600
2012-06-05 15:04:18 +02:00
Arjan Widlak
7ab4726600
- fixed #12365 : editing a metadata category may cause a fatal error
2012-06-05 12:34:50 +02:00
Colin Kuskie
fcd933489b
Fix the duplicating of events with related links that have restrictive permissions. Fixes bug #12010 .
2012-03-20 11:59:13 -07:00
Colin Kuskie
b1df3ad3fc
Fix a flaky test.
2012-01-16 14:37:09 -08:00
David Delikat
7120969ba2
added test for scalar exception test
2011-12-13 22:09:18 +00:00
Colin Kuskie
626011a850
Only export custom choice types for the Survey, and only the ones that are used by this Survey.
2011-11-22 09:02:10 -08:00
Colin Kuskie
9d2bcd282b
Make sure that custom question types are included in the packaged Survey. Fixes bug #12304 .
2011-11-21 14:19:51 -08:00
Colin Kuskie
9da88844e0
Make sure that calendar time span flags are always set. Fixes bug #12271 .
2011-10-15 13:06:44 -07:00
Colin Kuskie
c17d9aa394
Allow PseudoRequest to handle 0 and '' correctly. Kudos to knowmad for pointing this behavior out.
2011-09-29 14:39:52 -07:00
Scott Walters
ee121e9460
Mobile template is not being inherited ( #12246 )
...
Break get_add_instance out of www_add; subclass it in Layout to
pull mobileTemplateId and mobileStyleTemplateId from the parent
if the parent is also a Layout.
2011-09-07 20:19:50 -04:00
Scott Walters
b05c7ea810
Revert "Mobile template is not being inherited ( #12246 )"
...
... per perlDreamer's additional argument for his original design for this
This reverts commit 2628263384 .
2011-09-07 20:19:50 -04:00
Scott Walters
2628263384
Mobile template is not being inherited ( #12246 )
...
added extra_www_add_properties method to Asset.pm and subclassed it in as
Layout.pm as properties fix-up hook in child for www_add
2011-09-07 15:43:23 -04:00
Scott Walters
d65fd7e646
Pending perlDreamer's comments...:
...
Revert "Mobile template is not being inherited (#12246 )"
This reverts commit a4624663cf .
2011-09-06 20:32:50 -04:00
Scott Walters
a4624663cf
Mobile template is not being inherited ( #12246 )
...
Applied SquOnk's patch and added tests; modify www_add to inherit mobileStyleTemplateId
from the parent as well as mobileTemplateId. mobileTemplateId is only used by PageLayout
currently. If other assets start using this and this gets inherited cross asset types,
thing will break. A better design here would be to flag on a case-by-case basis in
asset definitions whether any given property should be inherited globally, of children
of the same asset class, or not at all.
2011-09-06 20:26:55 -04:00
Colin Kuskie
71a015a4ce
Remove debug output from Post.t
2011-08-22 19:47:47 -07:00
Colin Kuskie
4f2905645a
Changed urls sent to the asset indexer from using getUrl which prepends the gateway to them. Fixes bug #12229 .
2011-08-22 08:04:02 -07:00
Colin Kuskie
44f62c9884
Add cleanup code for newly added tests for canAdd being called as a method.
2011-08-02 10:00:25 -07:00
Peter Christiansen
bcfe1740dd
RFE 12207 : www_editThingDataSaveViaAjax should return more info if thingdata fails to be saved.
...
As it is it returns json with an array of error messages: [{error_message=>"some error"},..]
But to be able to do anything useful with this. eg. highlighting of form fields whose
input is erroneous we should also return the fieldName.
This patch takes care of this.
2011-07-28 22:50:42 +02:00
Colin Kuskie
97644dae49
Forgot a comment for the extension test in the attachment_loop
2011-07-28 11:13:39 -07:00
Paul Driver
9738ec0171
fixed #12206 : Bad Subscription Groups in Duplicated Threads
2011-07-27 11:19:02 -05:00
Colin Kuskie
0ed4d4a122
Fix bad tests that were order dependent on the FS. Fix tests that leaked assets and/or version tags.
2011-07-25 16:58:07 -07:00
Peter Christiansen
a9ac52aee3
Added tests to Article.t and Post.t for checking that the template variables
...
contain the new extension variable.
2011-07-23 01:58:48 +02:00
Paul Driver
a4ee31feef
Re-fixed #11379 , with tests this time.
2011-07-19 16:41:51 -05:00
Colin Kuskie
2ce2d7611a
Handle the case when the defaultValue is in mysql format for the Thingy, but we have to save in epoch. Fix a timezone offset issue. Fixes bug #12197
2011-07-18 21:26:31 -07:00
Colin Kuskie
9113408408
When a post is purged, disqualify it as the last post in its thread, and the parent CS. Fixes bug #12183
2011-07-11 15:04:54 -07:00
Colin Kuskie
1c08796d6c
Keywords fixes to prevent leaks.
2011-07-11 13:03:06 -07:00
Colin Kuskie
87d252ec26
Make sure that the keywords template variable is provided by processTemplate, since we documented that it does that. Fixes bug #12186 .
2011-07-10 18:29:52 -07:00
Colin Kuskie
e3a4afe5c3
Allow reasonable default dates in ISO 9601 format. Fixes bug #12165 .
2011-07-04 14:14:17 -07:00
Colin Kuskie
ac8d95e20a
Okay, I guess we really do need that.
2011-06-27 21:11:37 -07:00
Colin Kuskie
f728b22843
Do not append ;adminId to the URL stored for calendar feeds. Add upgrade code to fixing existing, broken feeds. Fixes bug #12164
2011-06-27 14:40:46 -07:00
Colin Kuskie
638b2a1996
Fix tests that were leaking assets.
2011-06-13 18:52:44 -07:00
Doug Bell
983e73a8d8
add TemplateToolkit before testing it
2011-06-13 17:53:26 -05:00
Doug Bell
3809817571
Ave trips mysql's stopwords?
2011-06-13 17:53:26 -05:00
Doug Bell
0577933006
2 letters is below the minimum word length
2011-06-13 17:53:25 -05:00
Colin Kuskie
b866601efa
Fix the number of tests in Story.t, Test::Harness 3.x cannot come quickly enough.
2011-05-31 15:38:01 -07:00
Colin Kuskie
11b33ebfcb
Fix problems with tests for bugfix 12142.
2011-05-31 15:16:16 -07:00
Colin Kuskie
ab1b6aa4fd
Fix photo JSON handling in the story, where the data is cached incorrectly. Fixes bug #12136
2011-05-31 15:16:02 -07:00
Paul Driver
181f21a0b7
WebGUI::Event
2011-05-31 16:13:09 -05:00
Colin Kuskie
c3652d12a9
Band-aid fix for bad decache of icalFeeds, where it is not deserialized from JSON. Fixes bug #12139 .
2011-05-30 11:34:43 -07:00
Paul Driver
7b7d1b4d2e
cleanup extra thread in 12142 test
2011-05-25 12:30:12 -05:00
Paul Driver
d450ded7a1
fixed #12142 : Copy fails on imported threads
2011-05-25 10:51:10 -05:00
Doug Bell
1fa911029d
Merge commit ' 1966cc02a7'
...
Conflicts:
lib/WebGUI/Asset/Wobject/Thingy.pm
2011-05-20 14:58:43 -05:00
Doug Bell
c471728ca4
add metadata to assets inside an AssetReport
...
Thanks to SquOnk for the patch.
2011-05-20 14:25:40 -05:00
Colin Kuskie
e33c41bd43
Add more tests around a test that fails intermittently in AssetLineage.t
2011-05-16 21:57:07 -07:00
Colin Kuskie
aaa2d8e8f2
Update shortcut exporting test for changes to exportGetRelatedAssetIds exporting the container by default.
2011-05-16 21:36:27 -07:00
Colin Kuskie
d796412469
Update Asset/Story.t for changes to exportGetRelatedAssetIds now exporting the container as well.
2011-05-16 21:32:48 -07:00
Paul Driver
4af2c8424f
Whoops. Monkey::Patch wasn't used.
2011-05-16 16:17:33 -05:00