[Rt-devel] [patch] Bulk update ignorant of wiki custom field
Kevin Falcone
falcone at bestpractical.com
Mon Nov 10 18:44:35 EST 2008
Is there a reason not to use EditCustomFieldWikitext that I'm missing
in my quick skim of the patch?
-kevin
On Nov 10, 2008, at 6:19 PM, Jerrad Pierce wrote:
> 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.
> <bulk-wiki.patch>_______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
More information about the Rt-devel
mailing list