Bugzilla – Attachment 128083 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.16 KB, created by
Marcel de Rooy
on 2021-11-29 15:13:38 UTC
(
hide
)
Description:
Bug 29592: Counterpart for authorities
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2021-11-29 15:13:38 UTC
Size:
1.16 KB
patch
obsolete
>From db65af4a945f402d899341f3a3cd891b47317ce9 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 >Content-Type: text/plain; charset=utf-8 > >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> >--- > 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.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 29592
:
128082
|
128083
|
131149
|
131150