'' is no longer a special value for Workflow Activities, that will cause them to pull their defaultValue. Instead, only undef will do that. Fixes bug #11900
This commit is contained in:
parent
c46685a861
commit
a614d4f230
2 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
- fixed #11773: Form injection in the EMS event ordering code.
|
||||
- fixed #11773: SQL injection vulnerability in Edit Thing form processing code.
|
||||
- fixed #11906: Carousel slide height problems
|
||||
- fixed #11900: Request Approval for Version Tag Workflow activity can't select --Continue with this workflow
|
||||
|
||||
7.10.2
|
||||
- fixed #11884: Editing Templates impossible / Code editor not loaded
|
||||
|
|
|
|||
|
|
@ -315,7 +315,7 @@ sub new {
|
|||
my %data = (%{$main}, %{$sub});
|
||||
for my $definition (reverse @{$class->definition($session)}) {
|
||||
for my $property (keys %{$definition->{properties}}) {
|
||||
if(!defined $data{$property} || $data{$property} eq '' && $definition->{properties}{$property}{defaultValue}) {
|
||||
if(!defined $data{$property}) {
|
||||
$data{$property} = $definition->{properties}{$property}{defaultValue};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue