Bugzilla – Attachment 131150 Details for
Bug 29592
Imported records should not be completed with defaultvalues
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29592: Counterpart for authorities
Bug-29592-Counterpart-for-authorities.patch (text/plain), 1.18 KB, created by
Katrin Fischer
on 2022-02-26 22:36:19 UTC
(
hide
)
Description:
Bug 29592: Counterpart for authorities
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-02-26 22:36:19 UTC
Size:
1.18 KB
patch
obsolete
>From a8a552920bb7080f483d7e03a980453993eb9ec7 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 29 Nov 2021 15:11:21 +0000 >Subject: [PATCH] Bug 29592: Counterpart for authorities > >Similar adjustment. Check the breedingid again. > >Test plan: >Same as former patch for authorities editor. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > authorities/authorities.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/authorities/authorities.pl b/authorities/authorities.pl >index 3b4a5d64be..b5fdedc923 100755 >--- a/authorities/authorities.pl >+++ b/authorities/authorities.pl >@@ -129,7 +129,8 @@ sub create_input { > > # if there is no value provided but a default value in parameters, get it > if ($value eq '') { >- $value = $tagslib->{$tag}->{$subfield}->{defaultvalue} if !$cgi->param('authid'); # only for new records >+ $value = $tagslib->{$tag}->{$subfield}->{defaultvalue} if !$cgi->param('authid') && !$cgi->param('breedingid'); >+ # only for new records, not for imports > if (!defined $value) { > $value = q{}; > } >-- >2.30.2
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 29592
:
128082
|
128083
|
131149
| 131150