From 65bdea5f3c074f343707d1c1203bbb51848426db Mon Sep 17 00:00:00 2001 From: Martin Kamerbeek Date: Wed, 17 Jun 2009 12:23:06 +0000 Subject: [PATCH] fixed a bug in Thingy where in some cases the style template was not processed after editing a Thing. --- docs/changelog/7.x.x.txt | 3 +++ lib/WebGUI/Asset/Wobject/Thingy.pm | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 89e31748a..e22ac3039 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -7,6 +7,9 @@ - fixed #10528: Thingy css error - fixed: Performance improvements with getting the list of asset packages. - fixed: Performance improvements with getting the list of content prototypes. + - fixed bug in Thingy where the style template would not be processed after + editing a Thing and the 'return after edit' setting was set to 'Thing + Default' ( Martin Kamerbeek / Oqapi ) 7.7.10 - Made a change to LDAP auth that adds an OR to that query so that it also searches for a row with fieldData REGEXP '^uid=(value-from-ldap-directory-server),'. (Wes Morgan) diff --git a/lib/WebGUI/Asset/Wobject/Thingy.pm b/lib/WebGUI/Asset/Wobject/Thingy.pm index 27ed66a27..149a3b399 100644 --- a/lib/WebGUI/Asset/Wobject/Thingy.pm +++ b/lib/WebGUI/Asset/Wobject/Thingy.pm @@ -2560,9 +2560,9 @@ sub www_editThingDataSave { $otherThingId =~ s/^addOther_//x; return $self->www_editThingData($otherThingId,"new"); } - # if afterSave is thingy default or in any other case return view() + # if afterSave is thingy default or in any other case return www_view() else { - return $self->view(); + return $self->www_view(); } }