[Rt-commit] rt branch, 5.0/lifecycle-ui-mappings-fixes, created. rt-5.0.0-63-g01ff695188
Craig Kaiser
craig at bestpractical.com
Mon Nov 2 09:27:11 EST 2020
The branch, 5.0/lifecycle-ui-mappings-fixes has been created
at 01ff695188d174a13061c945f537677133885da2 (commit)
- Log -----------------------------------------------------------------
commit 636942574dec67c618babdabb5d29263f2d58bf5
Author: craig kaiser <craig at bestpractical.com>
Date: Fri Oct 30 16:06:09 2020 -0400
Due to canonical casing of statuses we must us lc statuses
diff --git a/share/html/Admin/Lifecycles/Mappings.html b/share/html/Admin/Lifecycles/Mappings.html
index 0da577941b..77f0f88502 100644
--- a/share/html/Admin/Lifecycles/Mappings.html
+++ b/share/html/Admin/Lifecycles/Mappings.html
@@ -62,7 +62,7 @@
% for my $Other (@lifecycles) {
% my $FromMapping = $Other->MoveMap($LifecycleObj);
% my $ToMapping = $LifecycleObj->MoveMap($Other);
-% my @OtherStatuses = $Other->Valid;
+% my @OtherStatuses = map { lc $_ } $Other->Valid;
<&| /Widgets/TitleBox, title => $Other->Name &>
<div class="form-row">
@@ -112,7 +112,7 @@ $LifecycleObj->Load(Name => $Name, Type => $Type);
Abort( loc("Invalid lifecycle") ) unless $LifecycleObj->Name && $LifecycleObj->{data}{type} eq $Type;
-my @MyStatuses = $LifecycleObj->Valid;
+my @MyStatuses = map { lc $_ } $LifecycleObj->Valid;
$title = loc("Lifecycle [_1] Mappings", $LifecycleObj->Name);
commit 01ff695188d174a13061c945f537677133885da2
Author: craig kaiser <craig at bestpractical.com>
Date: Fri Oct 30 16:07:53 2020 -0400
Update instructions for lifecycle mapping page to mention assets
diff --git a/share/html/Admin/Lifecycles/Mappings.html b/share/html/Admin/Lifecycles/Mappings.html
index 77f0f88502..5f392a4a7e 100644
--- a/share/html/Admin/Lifecycles/Mappings.html
+++ b/share/html/Admin/Lifecycles/Mappings.html
@@ -50,7 +50,7 @@
<& /Elements/ListActions, actions => \@results &>
<div class="form-row">
<div class="col-12">
- <p><&|/l&>If a ticket is moved from one queue or catalog to another, these mappings define how statuses should be updated.</&></p>
+ <p><&|/l&>If a ticket or asset is moved from one queue or catalog to another, these mappings define how statuses should be updated.</&></p>
</div>
</div>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list