projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b6fc1
)
properly handle errors from multiple process_o2m/m2m actions, #33490
author
Mark Wells
<mark@freeside.biz>
Thu, 12 Feb 2015 06:59:54 +0000
(22:59 -0800)
committer
Mark Wells
<mark@freeside.biz>
Thu, 12 Feb 2015 06:59:54 +0000
(22:59 -0800)
httemplate/edit/process/elements/process.html
patch
|
blob
|
history
diff --git
a/httemplate/edit/process/elements/process.html
b/httemplate/edit/process/elements/process.html
index
698540b
..
9d8fa79
100644
(file)
--- a/
httemplate/edit/process/elements/process.html
+++ b/
httemplate/edit/process/elements/process.html
@@
-308,7
+308,7
@@
foreach my $value ( @values ) {
warn "$me processing m2m:\n". Dumper( %$process_m2m )
if $opt{'debug'};
- $error = $new->process_m2m( %$process_m2m );
+ $error
||
= $new->process_m2m( %$process_m2m );
}
}
@@
-350,7
+350,7
@@
foreach my $value ( @values ) {
);
}
- $error = $new->process_o2m( %{ $process_o2m },
+ $error
||
= $new->process_o2m( %{ $process_o2m },
'params' => scalar($cgi->Vars),
);
}