From d7218166bb9821d6e0dd0d269ff8d3d8d3199388 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 8 Sep 2011 09:52:45 -0700 Subject: [PATCH] Fix a problem with case sensitivity when in Thingy's getFieldValue. Fixes bug #12231. --- docs/changelog/7.x.x.txt | 2 ++ lib/WebGUI/Asset/Wobject/Thingy.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index abcfe4314..77d7880fe 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -8,6 +8,8 @@ - fixed #12240: Empty Extend Calendar Recurrance version tags - fixed #12241: Account Shop - fixed #12246: Layout inherits mobileStyleTemplateId and mobileTemplateId from parent Layouts + - fixed #12246: added extra_www_add_properties as properties fix-up hook in child for www_add + - fixed #12231: Thingy reindex fails on upgrade 7.10.22 - rfe #12223: Add date type to content profiling (metadata) diff --git a/lib/WebGUI/Asset/Wobject/Thingy.pm b/lib/WebGUI/Asset/Wobject/Thingy.pm index bfeb97f8d..127fc6cfa 100644 --- a/lib/WebGUI/Asset/Wobject/Thingy.pm +++ b/lib/WebGUI/Asset/Wobject/Thingy.pm @@ -1061,7 +1061,7 @@ sub getFieldValue { # TODO: The otherThing field type is probably also handled by getFormPlugin, so the elsif below can probably be # safely removed. However, this requires more testing than I can provide right now, so for now this stays the # way it was. - elsif ($field->{fieldType} =~ m/^otherthing/x) { + elsif ($fieldType =~ m/^otherthing/x) { my $otherThingId = $field->{fieldType}; $otherThingId =~ s/^otherThing_//x; my $tableName = 'Thingy_'.$otherThingId;