[Rt-commit] rt branch, master, updated. rt-4.1.6-344-g2228ce7

Kevin Falcone falcone at bestpractical.com
Wed Mar 13 14:52:53 EDT 2013


The branch, master has been updated
       via  2228ce7277d469ad056ba0ae21930dafa5be4551 (commit)
      from  5f533c5de24df75f1507c9a89a0e2a09ac365be8 (commit)

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

- Log -----------------------------------------------------------------
commit 2228ce7277d469ad056ba0ae21930dafa5be4551
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Wed Mar 13 13:24:38 2013 -0400

    Tell admins what __CustomField.{ }__ they typoed
    
    Right now, all you get is "Use of unitialized value" warnings if RT
    couldn't load the CF in your format because you typoed it.

diff --git a/share/html/Elements/ColumnMap b/share/html/Elements/ColumnMap
index ba050cb..98bebf5 100644
--- a/share/html/Elements/ColumnMap
+++ b/share/html/Elements/ColumnMap
@@ -112,6 +112,7 @@ $COLUMN_MAP = {
             my $cf = $m->notes($key);
             unless ($cf) {
                 $cf = $_[0]->LoadCustomFieldByIdentifier($_[-1]);
+                RT->Logger->debug("Unable to load $_[-1]") unless $cf->Id;
                 $m->notes($key, $cf);
             }
             return $cf;

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


More information about the Rt-commit mailing list