[otrs-cvs] otrs/Kernel/Modules AgentTicketProcess.pm,1.41,1.42
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/Kernel/Modules
In directory lancelot:/tmp/cvs-serv27282/Kernel/Modules
Modified Files:
AgentTicketProcess.pm
Log Message:
- 2013-02-13 Fixed bug#9159 - ProcessManagement: Date fields are activated by default.
Author: cr
Index: AgentTicketProcess.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketProcess.pm,v
retrieving revision 1.41
retrieving revision 1.42
diff -2 -u -d -r1.41 -r1.42
--- AgentTicketProcess.pm 14 Feb 2013 01:19:42 -0000 1.41
+++ AgentTicketProcess.pm 14 Feb 2013 01:40:21 -0000 1.42
@@ -2102,11 +2102,14 @@
DynamicFieldConfig => $DynamicFieldConfig,
PossibleValuesFilter => $PossibleValuesFilter,
- Value => $Param{GetParam}{ 'DynamicField_' . $Param{FieldName} },
- LayoutObject => $Self->{LayoutObject},
- ParamObject => $Self->{ParamObject},
- AJAXUpdate => 1,
- Mandatory => $Param{ActivityDialogField}->{Display} == 2,
- UpdatableFields => $Param{AJAXUpdatableFields},
- ServerError => $ServerError,
+
+ # if a value (even empty) is sent fields like Date or DateTime will mark the field as used
+ # with the field display value, this could lead to unwanted field sets, see bug#9159
+ Value => $Param{GetParam}{ 'DynamicField_' . $Param{FieldName} } || undef,
+ LayoutObject => $Self->{LayoutObject},
+ ParamObject => $Self->{ParamObject},
+ AJAXUpdate => 1,
+ Mandatory => $Param{ActivityDialogField}->{Display} == 2,
+ UpdatableFields => $Param{AJAXUpdatableFields},
+ ServerError => $ServerError,
);
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log