[Rt-commit] rt branch, 4.2/bulk-cf-loglevel, created. rt-4.2.13-74-g524dbad
Shawn Moore
shawn at bestpractical.com
Wed Dec 7 14:47:57 EST 2016
The branch, 4.2/bulk-cf-loglevel has been created
at 524dbad49e9f2d640fd7a4c40f9d1ba998978e09 (commit)
- Log -----------------------------------------------------------------
commit 524dbad49e9f2d640fd7a4c40f9d1ba998978e09
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Wed Dec 7 14:46:50 2016 -0500
Reduce "Unknown CustomField type" log from crit to info
This is most certainly not a critical error; it can happen throughout
the normal operation of RT, as don't support upload CFs on bulk update.
And the UI copes with it perfectly well.
diff --git a/share/html/Elements/BulkCustomFields b/share/html/Elements/BulkCustomFields
index 2c3af38..7d12976 100644
--- a/share/html/Elements/BulkCustomFields
+++ b/share/html/Elements/BulkCustomFields
@@ -92,7 +92,7 @@
<td><& /Elements/EditCustomFieldAutocomplete, @del &><br />
% } else {
<td colspan="2"><em><&|/l&>(Unsupported custom field type)</&></em></td>
-% $RT::Logger->crit("Unknown CustomField type: " . $cf->Type);
+% $RT::Logger->info("Unknown CustomField type: " . $cf->Type);
% next
% }
<label><input type="checkbox" name="Bulk-Delete-CustomField-<% $cf_id %>-AllValues" value="1">
-----------------------------------------------------------------------
More information about the rt-commit
mailing list