Priority: Urgent
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component: FoswikiForm
Branches: trunk
Scenario:
- Edit a topic with newly defined formfields
diff --git a/lib/Foswiki/Form/Select.pm b/lib/Foswiki/Form/Select.pm
index 98fc5a8..adeaa6f 100644
--- a/lib/Foswiki/Form/Select.pm
+++ b/lib/Foswiki/Form/Select.pm
@@ -124,6 +124,7 @@ sub renderForEdit {
my $choices = '';
+ $value = defined $value ? $value : '';
my %isSelected = map { $_ => 1 } split( /\s*,\s*/, $value );
foreach my $item ( @{ $this->getOptions() } ) {
my $option = $item
--
PaulHarvey - 30 May 2012
I'm wondering if this is related to
Item11666
--
PaulHarvey - 13 Jun 2012
I've reverted my patch and will watch out for this error reoccuring.
--
PaulHarvey - 13 Jun 2012