[Rt-commit] rt branch, 4.2/lower-missing-cf-log, updated. rt-4.2.13-53-ge08d63a

Dustin Collins strega at bestpractical.com
Wed Aug 31 18:19:48 EDT 2016


The branch, 4.2/lower-missing-cf-log has been updated
       via  e08d63adc41c436265489f70b3f7622802647804 (commit)
      from  9b4705611e637604a3c00b7c3f036196928c581f (commit)

Summary of changes:
 share/html/Elements/ColumnMap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit e08d63adc41c436265489f70b3f7622802647804
Author: Dustin Collins <strega at bestpractical.com>
Date:   Wed Aug 31 18:19:42 2016 -0400

    Lower log level of Custom Fields loading problems
    
    This log entry happens when a Custom Field is renamed or disabled, but had been saved by the old name. Failing to load the CF by the old name is not as severe as the old log level suggested.
    
    Fixes: I#31742

diff --git a/share/html/Elements/ColumnMap b/share/html/Elements/ColumnMap
index 4abfa21..1458068 100644
--- a/share/html/Elements/ColumnMap
+++ b/share/html/Elements/ColumnMap
@@ -115,7 +115,7 @@ $WCOLUMN_MAP = $COLUMN_MAP = {
             my $cf = $m->notes($key);
             unless ($cf) {
                 $cf = $_[0]->LoadCustomFieldByIdentifier($_[-1]);
-                RT->Logger->notice("Unable to load $_[-1] for ".$_[0]->CustomFieldLookupType." ".$_[0]->CustomFieldLookupId)
+                RT->Logger->debug("Unable to load $_[-1] for ".$_[0]->CustomFieldLookupType." ".$_[0]->CustomFieldLookupId)
                     unless $cf->Id;
                 $m->notes($key, $cf);
             }

-----------------------------------------------------------------------


More information about the rt-commit mailing list