Bugzilla – Attachment 129992 Details for
Bug 28832
[21.05] Batch modification always clears permanent_location if it is mapped in frameworks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28832: (follow-up) Handle regex fields too
Bug-28832-follow-up-Handle-regex-fields-too.patch (text/plain), 1.12 KB, created by
Martin Renvoize (ashimema)
on 2022-01-31 10:20:01 UTC
(
hide
)
Description:
Bug 28832: (follow-up) Handle regex fields too
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-01-31 10:20:01 UTC
Size:
1.12 KB
patch
obsolete
>From 66775e20271e899d77307ed188b427c120d5f544 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 20 Sep 2021 17:22:46 +0000 >Subject: [PATCH] Bug 28832: (follow-up) Handle regex fields too > >Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > tools/batchMod.pl | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/tools/batchMod.pl b/tools/batchMod.pl >index de0af2d63b..e21b0e8299 100755 >--- a/tools/batchMod.pl >+++ b/tools/batchMod.pl >@@ -123,10 +123,13 @@ if ($op eq "action") { > > # Clear the fields we are not editing, leave fields we are blanking > foreach( my $i = 0; $i < scalar @values; $i++ ){ >- unless( $values[$i] || grep { $subfields[$i] } @disabled ){ >+ unless( $values[$i] || $searches[$i] || grep { $subfields[$i] } @disabled ){ > splice(@values,$i,1); > splice(@subfields,$i,1); > splice(@tags,$i,1); >+ splice(@searches,$i,1); >+ splice(@replaces,$i,1); >+ splice(@modifiers,$i,1); > } > } > >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28832
:
123654
|
123966
|
123982
|
125075
|
125076
|
125077
|
127982
|
129991
| 129992 |
129993
|
129994