Bugzilla – Attachment 69347 Details for
Bug 19675
Cannot save notices when setting the TranslateNotices preference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19675: Fix update notice templates when they are translatable
Bug-19675-Fix-update-notice-templates-when-they-ar.patch (text/plain), 1.30 KB, created by
Jonathan Druart
on 2017-11-26 17:12:15 UTC
(
hide
)
Description:
Bug 19675: Fix update notice templates when they are translatable
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-11-26 17:12:15 UTC
Size:
1.30 KB
patch
obsolete
>From ff9d012aa352376b88509a0632f80109ecbf1d3a Mon Sep 17 00:00:00 2001 >From: Andreas Jonsson <andreas.jonsson@kreablo.se> >Date: Sun, 26 Nov 2017 14:10:38 -0300 >Subject: [PATCH] Bug 19675: Fix update notice templates when they are > translatable > >Avoid the following error: >DBD::mysql::db do failed: Duplicate entry >'acquisition-xxx--email-default' for key 'PRIMARY' [for Statement " >--- > tools/letter.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/tools/letter.pl b/tools/letter.pl >index d0c52c2120..922207958a 100755 >--- a/tools/letter.pl >+++ b/tools/letter.pl >@@ -309,11 +309,11 @@ sub add_validate { > q{ > UPDATE letter > SET branchcode = ?, module = ?, name = ?, is_html = ?, title = ?, content = ?, lang = ? >- WHERE branchcode = ? AND module = ? AND code = ? AND message_transport_type = ? >+ WHERE branchcode = ? AND module = ? AND code = ? AND message_transport_type = ? AND lang = ? > }, > undef, > $branchcode || '', $module, $name, $is_html || 0, $title, $content, $lang, >- $branchcode, $oldmodule, $code, $mtt >+ $branchcode, $oldmodule, $code, $mtt, $lang > ); > } else { > $dbh->do( >-- >2.11.0
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 19675
:
69347
|
69348