Skip to content

Commit c9659f4

Browse files
committed
Merge branch 'QA_5_2'
2 parents 9bc8257 + cc1ceba commit c9659f4

6 files changed

Lines changed: 8 additions & 5 deletions

File tree

ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ phpMyAdmin - ChangeLog
1010
- issue #17028 Fix total count of rows in not accurate
1111
- issue #17683 Fix total count of rows in not accurate
1212
- issue #17766 Allow to open in a new tab copy and edit row actions
13+
- issue #17599 Fix error when handling an user that is not in privileges table
14+
- issue #17364 Fix error when trying to import a status monitor chart arrangement
1315

1416
5.2.1 (2023-02-07)
1517
- issue #17522 Fix case where the routes cache file is invalid

js/src/server/status/monitor.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,9 @@ AJAX.registerOnload('server/status/monitor.js', function () {
733733

734734
$('#emptyDialog').dialog('close');
735735
};
736-
reader.readAsText(input.files[0]);
736+
if (input.files[0]) {
737+
reader.readAsText(input.files[0]);
738+
}
737739
};
738740

739741
dlgBtns[window.Messages.strCancel].click = function () {

libraries/classes/Engines/Pbxt.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function getPageDocumentation()
181181
__(
182182
'Documentation and further information about PBXT can be found on the %sPrimeBase XT Home Page%s.'
183183
),
184-
'<a href="' . Core::linkURL('https://mariadb.com/kb/en/mariadb/about-pbxt/')
184+
'<a href="' . Core::linkURL('https://mariadb.com/kb/en/about-pbxt/')
185185
. '" rel="noopener noreferrer" target="_blank">',
186186
'</a>'
187187
)

libraries/classes/Table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2087,7 +2087,7 @@ public function getSqlQueryForIndexCreateOrEdit($index, &$error)
20872087

20882088
// specifying index type is allowed only for primary, unique and index only
20892089
// TokuDB is using Fractal Tree, Using Type is not useless
2090-
// Ref: https://mariadb.com/kb/en/mariadb/storage-engine-index-types/
2090+
// Ref: https://mariadb.com/kb/en/storage-engine-index-types/
20912091
$type = $index->getType();
20922092
if (
20932093
$index->getChoice() !== 'SPATIAL'

templates/server/privileges/user_properties.twig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555

5656
{% if user_does_not_exists %}
5757
{{ 'The selected user was not found in the privilege table.'|trans|error }}
58-
{{ login_information_fields|raw }}
5958
{% endif %}
6059

6160
<form class="submenu-item" name="usersForm" id="addUsersForm" action="{{ url('/server/privileges') }}" method="post">

test/classes/Engines/PbxtTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public function testGetPage(): void
229229
__(
230230
'Documentation and further information about PBXT can be found on the %sPrimeBase XT Home Page%s.'
231231
),
232-
'<a href="' . Core::linkURL('https://mariadb.com/kb/en/mariadb/about-pbxt/')
232+
'<a href="' . Core::linkURL('https://mariadb.com/kb/en/about-pbxt/')
233233
. '" rel="noopener noreferrer" target="_blank">',
234234
'</a>'
235235
)

0 commit comments

Comments
 (0)