[Rt-devel] [patch] Bulk update ignorant of wiki custom field

Jerrad Pierce jpierce at cambridgeenergyalliance.org
Mon Nov 10 18:19:33 EST 2008


To fix errors like:

[Mon Nov 10 20:35:35 2008] [crit]: Unknown CustomField type: Wikitext
(/opt/rt3/share/html/Search/Bulk.html:191)

Apply something like this:

--- /opt/src/rt-3.8.1/share/html/Search/Bulk.html       2008-08-18
11:14:03.000000000 -0400
+++ share/html/Search/Bulk.html 2008-11-10 17:03:52.000000000 -0500
@@ -181,7 +181,7 @@
 % } elsif ($cf->Type eq 'Combobox') {
 <td><& /Elements/EditCustomFieldCombobox, @add &></td>
 <td><& /Elements/EditCustomFieldCombobox, @del &></td>
-% } elsif ($cf->Type eq 'Freeform') {
+% } elsif ($cf->Type eq 'Freeform' || $cf->Type eq 'Wikitext') {
 <td><& /Elements/EditCustomFieldFreeform, @add &></td>
 <td><& /Elements/EditCustomFieldFreeform, @del &></td>
 % } elsif ($cf->Type eq 'Text') {

-- 
Cambridge Energy Alliance: Save money. Save the planet.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bulk-wiki.patch
Type: text/x-patch
Size: 593 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20081110/761f330f/attachment.bin 


More information about the Rt-devel mailing list