Commit Graph

16 Commits

Author SHA1 Message Date
Jeremy Thomerson
f4e5137392 FIX: make getTranslations work even when translation classes differ
Even though it is an edge-case, some sites may allow translation groups to be
composed of different classes.  In that case, Translatable->getTranslations()
should still work.

Also, this commit adds a helper function for testing two array for equality
where you don't care about the order of the elements.  This cleaned up a lot
of copy and paste boilerplate code that was sorting arrays to test.
2013-06-06 02:59:51 +00:00
Ingo Schommer
3551a94e67 Fixed quoting of test SQL 2013-06-03 12:05:22 +02:00
Jeremy Thomerson
cde0f57c43 FIX support disabled locale filter for delayed querying
Fixes silverstripe/silverstripe-translatable#113
2013-06-01 14:14:54 +00:00
Simon Elvery
44f8180110 NEW Make it easier to show original values for custom fields. 2013-01-10 00:35:59 +01:00
Ingo Schommer
745b2bcc8e Removed MetaTitle/MetaDescription fields from search form
They have been removed from core (master)
2012-10-02 23:09:29 +02:00
Ingo Schommer
51c7d9e2ef Coding conventions fixes (mostly line length) 2012-10-02 22:34:16 +02:00
Damian Mooyman
91596197ee FIXED: Issue where translation of siteconfigs would create additional objects.
ADDED: Test case assertion
FIXED: Coding convention
2012-09-07 17:08:49 +02:00
Damian Mooyman
ba62557aac FIXED: Odd crash with error "Invalid CRT parameters detected" in test cases. Replaced with equivalent non-crashing code. 2012-09-07 17:08:48 +02:00
Damian Mooyman
a3b3ec8c4e FIXED: Issue where $enable_siteconfig_generation flag was not being set correctly, causing failed test cases_
FIXED: Duplicate entries in test database
2012-09-07 17:08:48 +02:00
Damian Mooyman
9978765abc UPDATED: Refactored Translation module specific code out of the SiteConfig 2012-09-07 17:08:48 +02:00
Ingo Schommer
610874755c BUGFIX 3.0 compatibility: Query manipulation, CMS links, separation of settings fields, new place for language selector on tree 2012-05-15 23:04:57 +02:00
Ingo Schommer
515b02809d MINOR Fixing TranslatableTest to work with new CMS preview feature in master (log out user to avoid redirection before checking URLs) 2011-07-09 15:47:10 +02:00
Ingo Schommer
edcb9ae582 BUGFIX Added Translatable->updateSettingsFields(), fixed related unit test 2011-05-02 08:30:40 +12:00
Ingo Schommer
7348ce7077 MINOR Subclassing from DataExtension instead of DataObjectDecorator 2011-05-01 22:29:20 +12:00
Ingo Schommer
e40b5f909b MINOR Fixed @package 2011-03-23 10:15:23 +13:00
Ingo Schommer
2a3cc650dc MINOR Initial commit, moved files from 'sapphire' and 'cms' modules 2011-03-22 22:18:48 +13:00