Skip to content

Commit

Permalink
Fixed js error in process management while editing a transition withi…
Browse files Browse the repository at this point in the history
…n a process if it is not linked to two activities.
  • Loading branch information
NiklasSchmitt committed Feb 7, 2024
1 parent 2b776e7 commit ff55fc2
Show file tree
Hide file tree
Showing 102 changed files with 422 additions and 61 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# 6.5.7 2024-??-??
- 2024-02-07 Fixed js error in process management while editing a transition within a process if it is not linked to two activities.
- 2024-02-06 Fixed handling of (un)selecting checkboxes on permissions table for AdminCustomerUserGroup.
- 2024-02-02 Removed session data from support bundle generator.
- 2024-02-02 Add html comment end tag into template file. Thanks to @kolbma. [PR#530](https://github.com/znuny/Znuny/pull/530)
Expand Down
5 changes: 4 additions & 1 deletion Kernel/Language/ar_SA.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.0757234726688103;
$Self->{Completeness} = 0.0757113004340138;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -1844,6 +1844,8 @@ sub Data {
'Do you really want to delete this Activity?' => '',
'Do you really want to delete this Activity Dialog?' => '',
'Do you really want to delete this Transition?' => '',
'You can not edit a transition before it\'s connected to two activities.' =>
'',
'Do you really want to delete this Transition Action?' => '',
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.' =>
'',
Expand Down Expand Up @@ -9463,6 +9465,7 @@ Thanks for your help!
'Duplicate event.',
'Duplicated entry',
'Edit Field Details',
'Edit Transition "%s"',
'Edit this setting',
'Edit this transition',
'End date',
Expand Down
5 changes: 4 additions & 1 deletion Kernel/Language/bg.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y - %T';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.20032154340836;
$Self->{Completeness} = 0.200289342549429;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -1842,6 +1842,8 @@ sub Data {
'Do you really want to delete this Activity?' => '',
'Do you really want to delete this Activity Dialog?' => '',
'Do you really want to delete this Transition?' => '',
'You can not edit a transition before it\'s connected to two activities.' =>
'',
'Do you really want to delete this Transition Action?' => '',
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.' =>
'',
Expand Down Expand Up @@ -9461,6 +9463,7 @@ Thanks for your help!
'Duplicate event.',
'Duplicated entry',
'Edit Field Details',
'Edit Transition "%s"',
'Edit this setting',
'Edit this transition',
'End date',
Expand Down
5 changes: 4 additions & 1 deletion Kernel/Language/ca.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.203697749196141;
$Self->{Completeness} = 0.203665005626105;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -1842,6 +1842,8 @@ sub Data {
'Do you really want to delete this Activity?' => '',
'Do you really want to delete this Activity Dialog?' => '',
'Do you really want to delete this Transition?' => '',
'You can not edit a transition before it\'s connected to two activities.' =>
'',
'Do you really want to delete this Transition Action?' => '',
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.' =>
'',
Expand Down Expand Up @@ -9461,6 +9463,7 @@ Thanks for your help!
'Duplicate event.',
'Duplicated entry',
'Edit Field Details',
'Edit Transition "%s"',
'Edit this setting',
'Edit this transition',
'End date',
Expand Down
5 changes: 4 additions & 1 deletion Kernel/Language/cs.pm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.247106109324759;
$Self->{Completeness} = 0.247066388040508;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -1848,6 +1848,8 @@ sub Data {
'Do you really want to delete this Activity?' => 'Opravdu odstranit tuhle Aktivitu?',
'Do you really want to delete this Activity Dialog?' => '',
'Do you really want to delete this Transition?' => '',
'You can not edit a transition before it\'s connected to two activities.' =>
'',
'Do you really want to delete this Transition Action?' => '',
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.' =>
'',
Expand Down Expand Up @@ -9467,6 +9469,7 @@ Thanks for your help!
'Duplicate event.',
'Duplicated entry',
'Edit Field Details',
'Edit Transition "%s"',
'Edit this setting',
'Edit this transition',
'End date',
Expand Down
5 changes: 4 additions & 1 deletion Kernel/Language/da.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.357073954983923;
$Self->{Completeness} = 0.357016556823662;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -1843,6 +1843,8 @@ sub Data {
'Do you really want to delete this Activity?' => 'Vil du virkelig slette denne aktivitet?',
'Do you really want to delete this Activity Dialog?' => 'Vil du virkelig slette denne aktivitets-dialog?',
'Do you really want to delete this Transition?' => 'Vil du virkelig slette denne overgang?',
'You can not edit a transition before it\'s connected to two activities.' =>
'',
'Do you really want to delete this Transition Action?' => '',
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.' =>
'',
Expand Down Expand Up @@ -9463,6 +9465,7 @@ Thanks for your help!
'Duplicate event.',
'Duplicated entry',
'Edit Field Details',
'Edit Transition "%s"',
'Edit this setting',
'Edit this transition',
'End date',
Expand Down
5 changes: 4 additions & 1 deletion Kernel/Language/de.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.997266881028939;
$Self->{Completeness} = 0.997267320366501;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -1841,6 +1841,8 @@ sub Data {
'Do you really want to delete this Activity?' => 'Möchten Sie diese Aktivität wirklich löschen?',
'Do you really want to delete this Activity Dialog?' => 'Möchten Sie diesen Aktivitäts-Dialog wirklich löschen?',
'Do you really want to delete this Transition?' => 'Möchten Sie diesen Übergang wirklich löschen?',
'You can not edit a transition before it\'s connected to two activities.' =>
'Sie können einen Übergang nicht bearbeiten, bevor er mit zwei Aktivitäten verbunden ist.',
'Do you really want to delete this Transition Action?' => 'Möchten Sie diese Übergangs-Aktion wirklich löschen?',
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.' =>
'Möchten Sie diese Aktivität wirklich vom Zeichenbereich entfernen? Das kann nur rückgängig gemacht werden, wenn Sie diese Ansicht ohne Speichern verlassen.',
Expand Down Expand Up @@ -9470,6 +9472,7 @@ Ihr Helpdesk-Team
'Duplicate event.',
'Duplicated entry',
'Edit Field Details',
'Edit Transition "%s"',
'Edit this setting',
'Edit this transition',
'End date',
Expand Down
5 changes: 4 additions & 1 deletion Kernel/Language/el.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.137299035369775;
$Self->{Completeness} = 0.137276965118148;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -1845,6 +1845,8 @@ sub Data {
'Do you really want to delete this Activity?' => '',
'Do you really want to delete this Activity Dialog?' => '',
'Do you really want to delete this Transition?' => 'Θέλετε να διαγράψετε αυτήν την Μετάβαση;',
'You can not edit a transition before it\'s connected to two activities.' =>
'',
'Do you really want to delete this Transition Action?' => 'Θέλετε να διαγράψετε την Μετάβασης;',
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.' =>
'',
Expand Down Expand Up @@ -9466,6 +9468,7 @@ Thanks for your help!
'Duplicate event.',
'Duplicated entry',
'Edit Field Details',
'Edit Transition "%s"',
'Edit this setting',
'Edit this transition',
'End date',
Expand Down
5 changes: 4 additions & 1 deletion Kernel/Language/en_CA.pm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sub Data {
$Self->{DateFormatShort} = '%Y-%M-%D';
$Self->{DateInputFormat} = '%Y-%M-%D';
$Self->{DateInputFormatLong} = '%Y-%M-%D - %T';
$Self->{Completeness} = 0.00257234726688103;
$Self->{Completeness} = 0.00257193377270535;

# csv separator
$Self->{Separator} = ',';
Expand Down Expand Up @@ -1847,6 +1847,8 @@ sub Data {
'Do you really want to delete this Activity?' => '',
'Do you really want to delete this Activity Dialog?' => '',
'Do you really want to delete this Transition?' => '',
'You can not edit a transition before it\'s connected to two activities.' =>
'',
'Do you really want to delete this Transition Action?' => '',
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.' =>
'',
Expand Down Expand Up @@ -9466,6 +9468,7 @@ Thanks for your help!
'Duplicate event.',
'Duplicated entry',
'Edit Field Details',
'Edit Transition "%s"',
'Edit this setting',
'Edit this transition',
'End date',
Expand Down
5 changes: 4 additions & 1 deletion Kernel/Language/en_GB.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.618327974276527;
$Self->{Completeness} = 0.618228580614049;

# csv separator
$Self->{Separator} = ',';
Expand Down Expand Up @@ -1844,6 +1844,8 @@ sub Data {
'Do you really want to delete this Activity?' => 'Do you really want to delete this Activity?',
'Do you really want to delete this Activity Dialog?' => 'Do you really want to delete this Activity Dialog?',
'Do you really want to delete this Transition?' => 'Do you really want to delete this Transition?',
'You can not edit a transition before it\'s connected to two activities.' =>
'',
'Do you really want to delete this Transition Action?' => 'Do you really want to delete this Transition Action?',
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.' =>
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.',
Expand Down Expand Up @@ -9474,6 +9476,7 @@ Thanks for your help!
'Duplicate event.',
'Duplicated entry',
'Edit Field Details',
'Edit Transition "%s"',
'Edit this setting',
'Edit this transition',
'End date',
Expand Down
5 changes: 4 additions & 1 deletion Kernel/Language/es.pm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.616237942122187;
$Self->{Completeness} = 0.616138884423726;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -1847,6 +1847,8 @@ sub Data {
'Do you really want to delete this Activity?' => '¿Realmente desea eliminar esta Actividad?',
'Do you really want to delete this Activity Dialog?' => '¿Realmente desea eliminar este Diálogo de Actividad?',
'Do you really want to delete this Transition?' => '¿Realmente desea eliminar esta Transición?',
'You can not edit a transition before it\'s connected to two activities.' =>
'',
'Do you really want to delete this Transition Action?' => '¿Realmente desea eliminar esta Acción de Transición?',
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.' =>
'¿Realmente desea eliminar la actividad del canvas? Esto sólo puede ser deshecho abandonando esta pantalla sin guardar.',
Expand Down Expand Up @@ -9484,6 +9486,7 @@ Tu Equipo de Soporte
'Duplicate event.',
'Duplicated entry',
'Edit Field Details',
'Edit Transition "%s"',
'Edit this setting',
'Edit this transition',
'End date',
Expand Down
5 changes: 4 additions & 1 deletion Kernel/Language/es_CO.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.322347266881029;
$Self->{Completeness} = 0.32229545089214;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -1842,6 +1842,8 @@ sub Data {
'Do you really want to delete this Activity?' => '',
'Do you really want to delete this Activity Dialog?' => '',
'Do you really want to delete this Transition?' => '',
'You can not edit a transition before it\'s connected to two activities.' =>
'',
'Do you really want to delete this Transition Action?' => '',
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.' =>
'',
Expand Down Expand Up @@ -9461,6 +9463,7 @@ Thanks for your help!
'Duplicate event.',
'Duplicated entry',
'Edit Field Details',
'Edit Transition "%s"',
'Edit this setting',
'Edit this transition',
'End date',
Expand Down
5 changes: 4 additions & 1 deletion Kernel/Language/es_MX.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.737620578778135;
$Self->{Completeness} = 0.73750200932326;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -1841,6 +1841,8 @@ sub Data {
'Do you really want to delete this Activity?' => '¿Está Usted seguro de querer eliminar esta Actividad?',
'Do you really want to delete this Activity Dialog?' => '',
'Do you really want to delete this Transition?' => '',
'You can not edit a transition before it\'s connected to two activities.' =>
'',
'Do you really want to delete this Transition Action?' => '',
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.' =>
'¿Realmente desea eliminar la actividad del canvas? Esto únicamente puede ser deshecho abandonando esta pantalla sin guardar.',
Expand Down Expand Up @@ -9471,6 +9473,7 @@ Tu Equipo de Soporte
'Duplicate event.',
'Duplicated entry',
'Edit Field Details',
'Edit Transition "%s"',
'Edit this setting',
'Edit this transition',
'End date',
Expand Down
5 changes: 4 additions & 1 deletion Kernel/Language/et.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.163987138263666;
$Self->{Completeness} = 0.163960778009966;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -1841,6 +1841,8 @@ sub Data {
'Do you really want to delete this Activity?' => '',
'Do you really want to delete this Activity Dialog?' => '',
'Do you really want to delete this Transition?' => '',
'You can not edit a transition before it\'s connected to two activities.' =>
'',
'Do you really want to delete this Transition Action?' => '',
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.' =>
'',
Expand Down Expand Up @@ -9460,6 +9462,7 @@ Thanks for your help!
'Duplicate event.',
'Duplicated entry',
'Edit Field Details',
'Edit Transition "%s"',
'Edit this setting',
'Edit this transition',
'End date',
Expand Down
5 changes: 4 additions & 1 deletion Kernel/Language/fa.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.634565916398714;
$Self->{Completeness} = 0.634463912554252;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -1847,6 +1847,8 @@ sub Data {
'Do you really want to delete this Activity?' => 'آیا شما واقعا می خواهید این فعالیت را حذف کنید ؟',
'Do you really want to delete this Activity Dialog?' => 'آیا شما واقعا می خواهید این فعالیت گفت و گو را حذف کنید؟',
'Do you really want to delete this Transition?' => 'آیا واقعا میخواهید این انتقال را حذف کنید؟',
'You can not edit a transition before it\'s connected to two activities.' =>
'',
'Do you really want to delete this Transition Action?' => 'آیا شما واقعا می خواهید این حرکت انتقال را حذف کنید؟',
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.' =>
'آیا شما واقعا می خواهید به حذف این فعالیت را از بوم؟ این فقط می تواند با ترک این صفحه نمایش بدون ذخیره خنثی کرد.',
Expand Down Expand Up @@ -9477,6 +9479,7 @@ Thanks for your help!
'Duplicate event.',
'Duplicated entry',
'Edit Field Details',
'Edit Transition "%s"',
'Edit this setting',
'Edit this transition',
'End date',
Expand Down
5 changes: 4 additions & 1 deletion Kernel/Language/fi.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.188906752411576;
$Self->{Completeness} = 0.188876386433049;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -1844,6 +1844,8 @@ sub Data {
'Do you really want to delete this Activity?' => '',
'Do you really want to delete this Activity Dialog?' => '',
'Do you really want to delete this Transition?' => '',
'You can not edit a transition before it\'s connected to two activities.' =>
'',
'Do you really want to delete this Transition Action?' => '',
'Do you really want to remove this activity from the canvas? This can only be undone by leaving this screen without saving.' =>
'',
Expand Down Expand Up @@ -9463,6 +9465,7 @@ Thanks for your help!
'Duplicate event.',
'Duplicated entry',
'Edit Field Details',
'Edit Transition "%s"',
'Edit this setting',
'Edit this transition',
'End date',
Expand Down
Loading

0 comments on commit ff55fc2

Please sign in to comment.