[Bps-public-commit] RT-Extension-MandatoryOnTransition branch master updated. 0.22-3-gdfc848d
BPS Git Server
git at git.bestpractical.com
Thu Jan 18 14:18:53 UTC 2024
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "RT-Extension-MandatoryOnTransition".
The branch, master has been updated
via dfc848d0216a4a52bcaf3abfd6248dcd473d467b (commit)
via af0452bda04fed040801aa3fa4abdd23135f8003 (commit)
from eb1094af9f1ff61e579eb77500a83f1536afbc7e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dfc848d0216a4a52bcaf3abfd6248dcd473d467b
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri Mar 17 03:24:06 2023 +0800
Prepare 0.23
diff --git a/Changes b/Changes
index 14d4d8a..9e20e86 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,10 @@
Revision history for RT-Extension-MandatoryOnTransition
+0.23 2023-03-16
+
+ - Do not render cf inputs if RT::Extension::CustomFieldsOnUpdate is on
+ - Add support for CF type Binary/Image
+
0.22 2022-07-13
- Add RTIR support
diff --git a/META.yml b/META.yml
index cc8e535..aa9d050 100644
--- a/META.yml
+++ b/META.yml
@@ -27,6 +27,6 @@ requires:
resources:
license: http://opensource.org/licenses/gpl-license.php
repository: https://github.com/bestpractical/rt-extension-mandatoryontransition
-version: '0.22'
+version: '0.23'
x_module_install_rtx_version: '0.43'
x_requires_rt: 4.0.9
diff --git a/README b/README
index 230e95a..da72c9b 100644
--- a/README
+++ b/README
@@ -330,7 +330,7 @@ BUGS
L<rt.cpan.org|http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-MandatoryOnTransition>.
LICENSE AND COPYRIGHT
- This software is Copyright (c) 2012-2022 by Best Pracical Solutions,
+ This software is Copyright (c) 2012-2023 by Best Pracical Solutions,
LLC.
This is free software, licensed under:
diff --git a/lib/RT/Extension/MandatoryOnTransition.pm b/lib/RT/Extension/MandatoryOnTransition.pm
index 25a1f6b..77b6d00 100644
--- a/lib/RT/Extension/MandatoryOnTransition.pm
+++ b/lib/RT/Extension/MandatoryOnTransition.pm
@@ -2,7 +2,7 @@ use strict;
use warnings;
package RT::Extension::MandatoryOnTransition;
-our $VERSION = '0.22';
+our $VERSION = '0.23';
=head1 NAME
@@ -996,7 +996,7 @@ or via the web at
=head1 LICENSE AND COPYRIGHT
-This software is Copyright (c) 2012-2022 by Best Pracical Solutions, LLC.
+This software is Copyright (c) 2012-2023 by Best Pracical Solutions, LLC.
This is free software, licensed under:
commit af0452bda04fed040801aa3fa4abdd23135f8003
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri Mar 17 01:53:23 2023 +0800
Do not render cf inputs if RT::Extension::CustomFieldsOnUpdate is on
This is to prevent duplicated cf inputs, which Update page doesn't
handle well.
diff --git a/html/Callbacks/RT-Extension-MandatoryOnTransition/Ticket/Update.html/AfterWorked b/html/Callbacks/RT-Extension-MandatoryOnTransition/Ticket/Update.html/AfterWorked
index 0800eea..371ccf2 100644
--- a/html/Callbacks/RT-Extension-MandatoryOnTransition/Ticket/Update.html/AfterWorked
+++ b/html/Callbacks/RT-Extension-MandatoryOnTransition/Ticket/Update.html/AfterWorked
@@ -52,7 +52,7 @@ foreach my $role (@{$roles}) {
}
</%init>
%# 'Named' is handled by this extension in the MassageCustomFields callback
-% if ( @$cfs ) {
+% if ( @$cfs && !grep { $_ eq 'RT::Extension::CustomFieldsOnUpdate' } RT->Config->Get('Plugins') ) {
<& $comp,
%ARGS,
%obj_args,
-----------------------------------------------------------------------
Summary of changes:
Changes | 5 +++++
META.yml | 2 +-
README | 2 +-
.../Ticket/Update.html/AfterWorked | 2 +-
lib/RT/Extension/MandatoryOnTransition.pm | 4 ++--
5 files changed, 10 insertions(+), 5 deletions(-)
hooks/post-receive
--
RT-Extension-MandatoryOnTransition
More information about the Bps-public-commit
mailing list